25 lines
546 B
YAML
25 lines
546 B
YAML
# Use docker-based build environment (instead of openvz)
|
|
sudo: false
|
|
|
|
language: java
|
|
jdk:
|
|
- oraclejdk8
|
|
env:
|
|
global:
|
|
- MAVEN_OPTS="-Xmx1024m"
|
|
|
|
cache:
|
|
directories:
|
|
- '$HOME/.m2/repository'
|
|
|
|
install: /bin/true
|
|
|
|
# This seems to be required to get travis to set Xmx4g, per https://github.com/travis-ci/travis-ci/issues/3893
|
|
before_script:
|
|
- export MAVEN_SKIP_RC=true
|
|
|
|
script:
|
|
- 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
|
|
|
|
|