hapi-fhir/.travis.yml

33 lines
1.2 KiB
YAML
Raw Normal View History

2015-06-20 18:32:00 -04:00
# Use docker-based build environment (instead of openvz)
2017-12-08 16:34:39 -05:00
#sudo: false
#dist: trusty
2017-12-08 14:28:54 -05:00
2017-12-08 16:34:39 -05:00
# Use VM based build environment
sudo: required
2018-05-30 08:58:08 -04:00
dist: trusty
2015-06-20 18:32:00 -04:00
2015-06-20 10:13:39 -04:00
language: java
jdk:
2018-05-30 08:54:16 -04:00
- oraclejdk9
2015-06-20 23:55:47 -04:00
env:
global:
2017-12-08 17:13:18 -05:00
- MAVEN_OPTS="-Xmx1024m"
2016-01-28 16:23:20 -05:00
cache:
directories:
- '$HOME/.m2/repository'
2015-06-20 18:33:15 -04:00
2015-06-20 18:32:00 -04:00
install: /bin/true
2015-08-05 10:48:34 -04:00
before_script:
# This seems to be required to get travis to set Xmx4g, per https://github.com/travis-ci/travis-ci/issues/3893
2015-08-05 10:48:34 -04:00
- export MAVEN_SKIP_RC=true
# Sometimes things get restored from the cache with bad permissions. See https://github.com/travis-ci/travis-ci/issues/9630
- sudo chmod -R 777 "$HOME/.m2/repository";
- sudo chown -R travis:travis "$HOME/.m2/repository";
2015-08-05 10:48:34 -04:00
2015-06-20 18:32:00 -04:00
script:
2016-06-15 17:34:50 -04:00
# - mvn -e -B clean install && cd hapi-fhir-ra && mvn -e -B -DTRAVIS_JOB_ID=$TRAVIS_JOB_ID clean test jacoco:report coveralls:report
2017-12-15 16:38:32 -05:00
# - mvn -Dci=true -e -B -P ALLMODULES,NOPARALLEL,ERRORPRONE clean install && cd hapi-fhir-jacoco && mvn -e -B -DTRAVIS_JOB_ID=$TRAVIS_JOB_ID jacoco:report coveralls:report
- mvn -Dci=true -e -B -P ALLMODULES,REDUCED_JPA_TESTS,ERRORPRONE,JACOCO clean install && cd hapi-fhir-jacoco && mvn -e -B -DTRAVIS_JOB_ID=$TRAVIS_JOB_ID jacoco:report coveralls:report;