mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-02-05 20:48:15 +00:00
* fix bug in websocket subscription (It wasn't destroying the channel when there are no subscribers) * add support for removing channel. Also synchronize removal (there was a race condition between sync and queue) * keep deprecated method for backwards compatibility * make websocket endpoint configurable * make websocket context path configurable * make websocket context path configurable * trying mvn clean test instead of mvn clean install to see if the build goes faster * that didn't work at all. reverting. * change log
35 lines
1.3 KiB
YAML
Executable File
35 lines
1.3 KiB
YAML
Executable File
# 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
|
|
#- oraclejdk9
|
|
|
|
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 -e -B clean install && cd hapi-fhir-ra && mvn -e -B -DTRAVIS_JOB_ID=$TRAVIS_JOB_ID clean test jacoco:report coveralls:report
|
|
# - 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,REDUCED_JPA_TESTS,JACOCO clean install && cd hapi-fhir-jacoco && mvn -e -B -DTRAVIS_JOB_ID=$TRAVIS_JOB_ID jacoco:report coveralls:report;
|