forked from keycloak/keycloak-quickstarts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
50 lines (39 loc) · 964 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
language: java
dist: trusty
addons:
apt:
packages:
- lynx
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.m2
before_cache:
- rm -rf $HOME/.m2/repository/org/keycloak/quickstarts
env:
global:
- MAVEN_SKIP_RC=true
- MAVEN_OPTS="-Xms512m -Xmx2048m"
matrix:
- TESTS=group1
- TESTS=group2
- TESTS=group3
- TESTS=group4
- TESTS=group5
- TESTS=group6
before_install:
- ./travis-server.sh
install:
- travis_wait 20 mvn -s maven-settings.xml clean install --no-snapshot-updates -DskipTests=true -Denforcer.skip=true -B -V -q
- mvn -s maven-settings.xml -Padd-datasource install -DskipTests=true -Denforcer.skip=true -f user-storage-jpa -q
before_script:
- export MAVEN_SKIP_RC=true
script:
- ./travis-run-tests.sh $TESTS
after_install:
- ./scripts/stop-server.sh
- kill -9 `cat pid.txt`
after_failure:
- if [ -f ${HOME}/keycloak.log ]; then lynx -dump ${HOME}/keycloak.log; fi
sudo: false