-
Notifications
You must be signed in to change notification settings - Fork 76
/
.travis.yml
46 lines (38 loc) · 1.26 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
language: java
sudo: required
dist: trusty
services:
- postgresql
addons:
apt:
packages:
- mysql-server-5.6
- mysql-client-core-5.6
- mysql-client-5.6
matrix:
include:
- jdk: oraclejdk9
install: . ./.travis/install-jdk-9.sh
script: mvn package -B -Pjdk19,dev9
- jdk: oraclejdk8
script: mvn package javadoc:javadoc -B -Pdev && mvn -P travis,!dev -DserviceName=travis-ci jacoco:report coveralls:report
- jdk: openjdk7
script: mvn package javadoc:javadoc -B
install: . ./.travis/install-jdk-7.sh
- script: mvn package -B -Pjdk19,dev9
install: . ./.travis/install-jdk-11.sh
- script: mvn package -B -Pjdk19,dev9
install: . ./.travis/install-jdk-12.sh
- script: mvn package -B -Pjdk19,dev9
install: . ./.travis/install-jdk-13.sh
- script: mvn package -B -Pjdk19,dev9
install: . ./.travis/install-jdk-14.sh
env:
- MAVEN_SKIP_RC=true TRAVISBUILD=true
before_install:
- echo "127.0.0.1 $HOSTNAME" | sudo tee -a /etc/hosts
before_script:
- mysql --verbose -u root -e 'create database sfm;'
- mysql --verbose -u root -e "CREATE USER 'sfm'@'localhost';"
- mysql --verbose -u root -e "GRANT ALL ON sfm.* TO 'sfm'@'localhost';"
- psql -c 'create database sfm;' -U postgres