2015-01-27 07:49:49 +00:00
|
|
|
language: java
|
2015-01-27 08:50:52 +00:00
|
|
|
|
2016-08-16 05:49:17 +00:00
|
|
|
cache:
|
2017-07-14 05:01:54 +00:00
|
|
|
cache: false
|
2016-08-16 05:49:17 +00:00
|
|
|
|
2016-01-06 13:43:10 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- MAVEN_SKIP_RC=true
|
2017-07-14 05:01:54 +00:00
|
|
|
- MAVEN_OPTS="-Xms512m -Xmx1536m"
|
2016-11-11 10:52:49 +00:00
|
|
|
matrix:
|
2017-07-14 05:01:54 +00:00
|
|
|
- TESTS=unit
|
|
|
|
- TESTS=server-group1
|
|
|
|
- TESTS=server-group2
|
|
|
|
- TESTS=server-group3
|
|
|
|
- TESTS=server-group4
|
2018-11-02 12:17:50 +00:00
|
|
|
- TESTS=adapter-tests
|
2018-07-26 11:37:47 +00:00
|
|
|
- TESTS=crossdc-server
|
|
|
|
- TESTS=crossdc-adapter
|
2019-03-06 16:21:11 +00:00
|
|
|
- TESTS=broker
|
2016-01-06 13:43:10 +00:00
|
|
|
|
2015-07-20 08:38:52 +00:00
|
|
|
jdk:
|
|
|
|
- oraclejdk8
|
|
|
|
|
2017-07-14 05:01:54 +00:00
|
|
|
install: true
|
2015-07-20 08:38:52 +00:00
|
|
|
|
2018-02-26 09:49:05 +00:00
|
|
|
before_install:
|
|
|
|
- "export PHANTOMJS_VERSION=2.1.1"
|
|
|
|
- "phantomjs --version"
|
|
|
|
- "export PATH=$PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin:$PATH"
|
|
|
|
- "phantomjs --version"
|
|
|
|
- "if [ $(phantomjs --version) != '$PHANTOMJS_VERSION' ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
|
|
|
|
- "if [ $(phantomjs --version) != '$PHANTOMJS_VERSION' ]; then wget https://github.com/Medium/phantomjs/releases/download/v$PHANTOMJS_VERSION/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2; fi"
|
|
|
|
- "if [ $(phantomjs --version) != '$PHANTOMJS_VERSION' ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi"
|
|
|
|
- "phantomjs --version"
|
|
|
|
|
2017-07-14 05:01:54 +00:00
|
|
|
script:
|
2016-11-11 10:52:49 +00:00
|
|
|
- ./travis-run-tests.sh $TESTS
|
2015-07-20 08:38:52 +00:00
|
|
|
|
2018-08-20 07:04:06 +00:00
|
|
|
after_success:
|
|
|
|
- .travis/docker-hub-master-trigger.sh
|
|
|
|
|
2015-06-02 06:52:41 +00:00
|
|
|
sudo: false
|