forked from geotools/geotools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (37 loc) · 1.08 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
sudo: false
dist: trusty
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
install: true
env:
global:
- MAVEN_OPTS=-Xmx756m
before_script:
- wget https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.0/apache-maven-3.6.0-bin.tar.gz
- tar zxf apache-maven-3.6.0-bin.tar.gz
- export M2_HOME=$PWD/apache-maven-3.6.0
- wget -P $M2_HOME/lib/ext http://repo1.maven.org/maven2/io/takari/maven/takari-smart-builder/0.6.1/takari-smart-builder-0.6.1.jar
- export PATH=$M2_HOME/bin:$PATH
script:
- mvn -B -fae -Dall clean install -T2 --builder smart $ARGS
notifications:
email: false
on_failure: never
addons:
apt:
packages:
- python-sphinx
- libgdal1h
matrix:
include:
- jdk: oraclejdk8
env: ARGS="-Dfmt.skip=true"
- jdk: oraclejdk11
env: ARGS="-Dfmt.skip=true"
- jdk: oraclejdk11
env: ARGS="-Dfmt.action=check -Dqa=true -DskipTests=true"