2015-06-20 18:32:00 -04:00
|
|
|
# Use docker-based build environment (instead of openvz)
|
|
|
|
sudo: false
|
|
|
|
|
2015-06-20 10:13:39 -04:00
|
|
|
language: java
|
2015-06-20 14:23:34 -04:00
|
|
|
jdk:
|
2015-06-23 08:29:13 -04:00
|
|
|
- oraclejdk8
|
2015-06-20 23:55:47 -04:00
|
|
|
env:
|
|
|
|
global:
|
2016-01-02 09:35:18 -05:00
|
|
|
- MAVEN_OPTS="-Xmx1024m"
|
2015-06-20 14:23:34 -04:00
|
|
|
|
2015-06-20 18:32:00 -04: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
|
|
|
|
2015-08-05 12:57:04 -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:
|
2015-10-21 08:56:57 -04:00
|
|
|
- mvn -e -B clean install && cd hapi-fhir-cobertura && mvn -e -B -DTRAVIS_JOB_ID=$TRAVIS_JOB_ID -P COBERTURA clean cobertura:cobertura coveralls:report
|
2015-06-20 18:43:15 -04:00
|
|
|
|
2015-06-20 18:38:03 -04:00
|
|
|
|