2014-12-19 18:53:19 -05:00
|
|
|
language: java
|
|
|
|
|
2017-07-19 02:19:33 -04:00
|
|
|
dist: precise
|
|
|
|
|
2014-12-19 18:53:19 -05:00
|
|
|
jdk:
|
|
|
|
- oraclejdk8
|
2015-01-07 18:07:14 -05:00
|
|
|
|
2015-08-07 21:05:25 -04:00
|
|
|
cache:
|
|
|
|
directories:
|
2017-05-20 14:42:44 -04:00
|
|
|
- $HOME/.m2
|
2017-05-31 21:27:34 -04:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2017-06-26 21:51:48 -04:00
|
|
|
# strict compilation
|
2017-05-31 21:27:34 -04:00
|
|
|
- sudo: false
|
|
|
|
install: true
|
2017-06-26 21:51:48 -04:00
|
|
|
# Strict compilation requires more than 2 GB
|
|
|
|
script: echo "MAVEN_OPTS='-Xmx3000m'" > ~/.mavenrc && mvn clean -Pstrict -pl '!benchmarks' compile test-compile -B
|
|
|
|
|
|
|
|
# processing module test
|
|
|
|
- sudo: false
|
|
|
|
install: mvn install -q -ff -DskipTests -B
|
|
|
|
script: mvn test -B -Pparallel-test -Dmaven.fork.count=2 -pl processing
|
|
|
|
|
|
|
|
# non-processing modules test
|
|
|
|
- sudo: false
|
|
|
|
install: mvn install -q -ff -DskipTests -B
|
|
|
|
script: mvn test -B -Pparallel-test -Dmaven.fork.count=2 -pl '!processing'
|
|
|
|
|
|
|
|
# run integration tests
|
2017-05-31 21:27:34 -04:00
|
|
|
- sudo: required
|
2017-07-19 02:19:33 -04:00
|
|
|
dist: trusty
|
2017-05-31 21:27:34 -04:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
env:
|
|
|
|
- DOCKER_IP=172.17.0.1
|
|
|
|
install:
|
|
|
|
# Only errors will be shown with the -q option. This is to avoid generating too many logs which make travis build failed.
|
2017-06-26 21:51:48 -04:00
|
|
|
- mvn install -q -ff -DskipTests -B
|
2017-05-31 21:27:34 -04:00
|
|
|
script:
|
|
|
|
- $TRAVIS_BUILD_DIR/ci/travis_script_integration.sh
|