zxing/.travis.yml

29 lines
871 B
YAML
Raw Normal View History

2014-01-17 03:00:16 -08:00
language: java
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
cache:
directories:
- $HOME/.m2
2014-08-16 09:31:36 -07:00
git:
2015-05-03 13:14:14 -07:00
depth: 10
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