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:
|
|
|
|
- MAVEN_OPTS="-XX:MaxPermSize=512m -Xmx4g"
|
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-08-28 17:06:56 -04:00
|
|
|
- mvn -B clean install && cd hapi-fhir-cobertura && mvn -B -DTRAVIS_JOB_ID=$TRAVIS_JOB_ID -P COBERTURA clean test jacoco:report coveralls:report
|
2015-06-20 18:43:15 -04:00
|
|
|
|
2015-06-20 18:38:03 -04:00
|
|
|
|