forked from alfio-event/alf.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
66 lines (66 loc) · 2 KB
/
.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
language: java
before_script:
- psql -c 'create database alfio;' -U postgres
- mysql -u root -e 'CREATE DATABASE alfio CHARACTER SET utf8 COLLATE utf8_bin;'
- mysql -u root -e 'select VERSION()'
- mysql -u root -e 'select @@sql_mode'
dist: trusty
sudo: required
install:
- TERM=dumb ./gradlew -q assemble
matrix:
include:
- jdk: oraclejdk8
env: PROFILE="-Ddbenv=HSQLDB"
dist: precise
addons:
apt:
packages:
- mysql-server
- mysql-client-core-5.5
- mysql-client
- jdk: oraclejdk8
env: PROFILE="-Ddbenv=PGSQL-TRAVIS -Dpgsql9.1"
dist: precise
addons:
postgresql: "9.1"
apt:
packages:
- mysql-server
- mysql-client-core-5.5
- mysql-client
- jdk: oraclejdk8
env: PROFILE="-Ddbenv=PGSQL-TRAVIS -Dpgsql9.4"
dist: precise
addons:
postgresql: "9.4"
apt:
packages:
- mysql-server
- mysql-client-core-5.5
- mysql-client
- jdk: oraclejdk8
env: PROFILE="-Ddbenv=MYSQL -Dmysql5.5"
dist: precise
addons:
apt:
packages:
- mysql-server
- mysql-client-core-5.5
- mysql-client
- jdk: oraclejdk8
env: PROFILE="-Ddbenv=MYSQL -Dmysql5.6"
addons:
apt:
packages:
- mysql-server-5.6
- mysql-client-core-5.6
- mysql-client-5.6
- jdk: oraclejdk8
env: PROFILE="-Ddbenv=MYSQL -Dmariadb10.1"
addons:
mariadb: 10.1
script:
- TERM=dumb ./gradlew build jacocoTestReport $PROFILE
after_success:
./gradlew coveralls