2019-07-17 18:01:02 -04:00
|
|
|
# Use docker-based build environment (instead of openvz)
|
|
|
|
#sudo: false
|
|
|
|
#dist: trusty
|
|
|
|
|
|
|
|
# Use VM based build environment
|
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
language: java
|
|
|
|
jdk:
|
|
|
|
- openjdk11
|
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- MAVEN_OPTS="-Xmx10244M -Xss128M -XX:MetaspaceSize=512M -XX:MaxMetaspaceSize=1024M -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC"
|
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- '$HOME/.m2/repository'
|
|
|
|
|
|
|
|
install: /bin/true
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
# This seems to be required to get travis to set Xmx4g, per https://github.com/travis-ci/travis-ci/issues/3893
|
|
|
|
- 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";
|
|
|
|
|
|
|
|
script:
|
|
|
|
- mvn install
|
2019-09-17 06:19:46 -04:00
|
|
|
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
- https://chat.fhir.org/api/v1/external/travis?api_key=djw9NZjz5FaZk3A4Jh78vtIZgoaLmOBK&stream=committers/notification&topic=java%20core
|