forked from keycloak/keycloak-quickstarts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (35 loc) · 838 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
language: java
dist: trusty
addons:
apt:
packages:
- lynx
jdk:
- oraclejdk8
env:
global:
- MAVEN_SKIP_RC=true
- MAVEN_OPTS="-Xms512m -Xmx2048m"
matrix:
- TESTS=group1
- TESTS=group2
- TESTS=group3
- TESTS=group4
- TESTS=group5
- TESTS=group6
- TESTS=group7
before_install:
- ./travis-server.sh
install:
- travis_wait 20 mvn -s maven-settings.xml clean install --no-snapshot-updates -Denforcer.skip=true -B -V -q
- mvn -s maven-settings.xml -Padd-datasource install -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