forked from geotools/geotools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
67 lines (66 loc) · 1.68 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
67
sudo: false
dist: bionic
cache:
directories:
- "$HOME/.m2"
language: java
before_install:
- sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g' ~/.m2/settings.xml
- unset _JAVA_OPTIONS
- if [ "$TRAVIS_JOB_NAME" == "Oracle XE" ]; then
sh ".travis/start-oracle-xe.sh";
sh ".travis/setup-oracle.sh";
fi
- if [ "$TRAVIS_JOB_NAME" == "MySQL" ]; then
sh ".travis/start-mysql.sh";
sh ".travis/setup-mysql.sh";
fi
install:
- if [ "$TRAVIS_JOB_NAME" == "MS SQL server 2019" ]; then
sh ".travis/install-mssql2019.sh";
sh ".travis/setup-mssql.sh";
fi
env:
global:
- MAVEN_OPTS=-Xmx756m
script:
- mvn -B -fae -Dall clean install -T2 $ARGS
notifications:
email: false
on_failure: never
addons:
apt:
packages:
- python-sphinx
matrix:
include:
- jdk: openjdk8
env: ARGS="-Dfmt.skip=true"
- jdk: openjdk11
env: ARGS="-Dfmt.skip=true"
- jdk: openjdk11
env: ARGS="-Dfmt.action=check -Dqa=true -DskipTests=true"
- jdk: openjdk8
env: ARGS="-pl :gt-jdbc-sqlserver -Dfmt.skip=true -Ponline -am"
dist: bionic
name: "MS SQL server 2019"
- jdk: openjdk8
env: ARGS="-pl :gt-jdbc-oracle -Ponline -Ptravis-oracle-build -Dfmt.skip=true -am"
dist: bionic
name: "Oracle XE"
services:
- docker
addons:
apt:
packages:
- docker-ce
- jdk: openjdk8
env: ARGS="-pl :gt-jdbc-mysql -Ponline -Dfmt.skip=true -am"
dist: bionic
name: "MySQL"
services:
- docker
addons:
apt:
packages:
- docker-ce