e2ad59a74d
* KEYCLOAK-4816 KEYCLOAK-4817 Move javascript tests to base testsuite and use JavascriptExecutor * Use PhantomJS 2.1.1 instead of 1.9.8 in Travis CI
38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
language: java
|
|
dist: precise
|
|
|
|
cache:
|
|
cache: false
|
|
|
|
env:
|
|
global:
|
|
- MAVEN_SKIP_RC=true
|
|
- MAVEN_OPTS="-Xms512m -Xmx1536m"
|
|
matrix:
|
|
- TESTS=unit
|
|
- TESTS=server-group1
|
|
- TESTS=server-group2
|
|
- TESTS=server-group3
|
|
- TESTS=server-group4
|
|
- TESTS=old
|
|
- TESTS=crossdc
|
|
|
|
jdk:
|
|
- oraclejdk8
|
|
|
|
install: true
|
|
|
|
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"
|
|
|
|
script:
|
|
- ./travis-run-tests.sh $TESTS
|
|
|
|
sudo: false
|