-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
31 lines (27 loc) · 971 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
language: java
jdk:
- openjdk8
install:
- echo ==== Setting up toolchain.xml ====
- ls /usr/lib/jvm
- ls
- echo ==== Setting up Maven 3.6 for Travis ====
- wget -O maven.tar.gz http://www-eu.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz
- mkdir maven
- cd maven ; tar --strip-components 1 -xzf ../maven.tar.gz ; cd ..
- chmod a+x maven/bin/mvn
- export M2_HOME=$PWD/maven
- export PATH=$PWD/maven/bin:${PATH}
- hash -r
script:
# - travis_wait 30 mvn -s settings.xml -B -P development clean
- travis_wait 30 mvn -Dmaven.test.skip=true -s settings.xml -B install
- travis_wait 30 mvn -Dmaven.test.skip=true -s settings.xml -B -P integration deploy
# The following upgrades Java during the build in
# order to work around an older Java 8 compiler issue
# which has problems infering types. Travis ships a
# rather old Java 8 version in its images.
#addons:
# apt:
# packages:
# - oracle-java8-installer