druid/.travis.yml

45 lines
1.3 KiB
YAML
Raw Normal View History

2014-12-19 18:53:19 -05:00
language: java
dist: trusty
2014-12-19 18:53:19 -05:00
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.m2
matrix:
include:
2017-06-26 21:51:48 -04:00
# strict compilation
- 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: echo "MAVEN_OPTS='-Xmx3000m'" > ~/.mavenrc && mvn install -q -ff -DskipTests -B
before_script:
- unset _JAVA_OPTIONS
script: echo "MAVEN_OPTS='-Xmx512m'" > ~/.mavenrc && mvn test -B -Pparallel-test -Dmaven.fork.count=2 -pl processing
2017-06-26 21:51:48 -04:00
# non-processing modules test
- sudo: false
install: echo "MAVEN_OPTS='-Xmx3000m'" > ~/.mavenrc && mvn install -q -ff -DskipTests -B
before_script:
- unset _JAVA_OPTIONS
script: echo "MAVEN_OPTS='-Xmx512m'" > ~/.mavenrc && mvn test -B -Pparallel-test -Dmaven.fork.count=2 -pl '!processing'
2017-06-26 21:51:48 -04:00
# run integration tests
- sudo: required
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
script:
- $TRAVIS_BUILD_DIR/ci/travis_script_integration.sh