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:
|
2019-08-12 17:06:38 +00:00
|
|
|
directories:
|
|
|
|
- $HOME/.m2
|
|
|
|
|
|
|
|
before_cache:
|
|
|
|
- rm -rf $HOME/.m2/repository/org/keycloak
|
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
|
2019-08-06 07:02:44 +00:00
|
|
|
- TESTS=adapter-tests-authz
|
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:
|
2019-06-27 05:25:46 +00:00
|
|
|
- openjdk8
|
2015-07-20 08:38:52 +00:00
|
|
|
|
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"
|
|
|
|
|
2019-06-18 06:24:34 +00:00
|
|
|
before_script:
|
|
|
|
- export -f travis_fold
|
|
|
|
|
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
|