2014-01-17 03:00:16 -08:00
|
|
|
language: java
|
2015-05-04 13:31:13 -07:00
|
|
|
sudo: false
|
2015-05-03 13:14:14 -07:00
|
|
|
script: mvn ${JACOCO} test
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
# Covers Java 7, Open JDK, and code coverage
|
|
|
|
- jdk: openjdk7
|
|
|
|
env: JACOCO=-Pjacoco
|
|
|
|
# Covers Java 8, Oracle JDK
|
|
|
|
- jdk: oraclejdk8
|
2014-03-26 01:57:38 -07:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.m2
|
2014-08-16 09:31:36 -07:00
|
|
|
git:
|
2015-05-03 13:14:14 -07:00
|
|
|
depth: 10
|
2015-07-21 04:04:11 -07:00
|
|
|
after_success: if [ -n "$JACOCO" ]; then bash <(curl -s https://codecov.io/bash); fi
|
2015-05-05 08:00:53 -07:00
|
|
|
env:
|
|
|
|
global:
|
2015-05-05 09:19:08 -07:00
|
|
|
# COVERITY_SCAN:
|
2015-05-05 08:00:53 -07:00
|
|
|
- secure: "HmfK5Ya1l1/hWFk+RV5lwlrWAlv3FwyOFV1689JPtK9OBZAuDGmj0uskmLRWI7X6MdwHSpP93P5pADE1YbbqX2pZmhysBiLsGh8rmI+eTm/Q9h708qyRk3T2Yie49rfk5xlo1IN41dDt+3XZ0bEC7VEXNoCAyn9YMpZ/wOJiP/s="
|
|
|
|
addons:
|
|
|
|
coverity_scan:
|
|
|
|
project:
|
|
|
|
name: "zxing/zxing"
|
|
|
|
description: "Build submitted via Travis CI"
|
|
|
|
notification_email: srowen@gmail.com
|
|
|
|
build_command_prepend: "mvn clean"
|
2015-05-05 09:19:08 -07:00
|
|
|
build_command: "mvn -DskipTests=true compile test-compile"
|
|
|
|
branch_pattern: coverity_scan
|