forked from apache/gobblin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (39 loc) · 918 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
51
52
language: java
dist: trusty
sudo: required
addons:
apt:
packages:
- libaio-dev
- libdbus-glib-1-dev
- xsltproc
- mysql-server-5.6
- mysql-client-core-5.6
- mysql-client-5.6
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
before_script:
- mysql -uroot -e "create user testUser identified by 'testPassword';"
script: ./travis/test.sh
after_success: ./gradlew coveralls
after_failure: ./travis/junit-errors-to-stdout.sh
env:
- RUN_TEST_GROUP=build
- RUN_TEST_GROUP=default
- RUN_TEST_GROUP=group1
- RUN_TEST_GROUP=coverage
jdk:
- oraclejdk8
- oraclejdk7
matrix:
exclude:
- jdk: oraclejdk7
env: RUN_TEST_GROUP=coverage