hapi-fhir/.travis.yml

30 lines
935 B
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
2015-06-20 18:32:00 -04:00
2015-06-20 10:13:39 -04:00
language: java
jdk:
- oraclejdk8
2015-06-20 23:55:47 -04:00
env:
global:
2017-12-08 14:28:54 -05:00
- MAVEN_OPTS="-Xmx512m"
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
# 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
before_script:
- export MAVEN_SKIP_RC=true
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-08 15:55:43 -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,MINPARALLEL,ERRORPRONE clean install && cd hapi-fhir-jacoco && mvn -e -B -DTRAVIS_JOB_ID=$TRAVIS_JOB_ID jacoco:report coveralls:report