-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (32 loc) · 895 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
32
33
{
"language": "java",
"jdk": "oraclejdk8",
"sudo": false,
"cache": {
"directories": [
"$HOME/.m2/repository",
"$HOME/apache-maven-3.5.0",
""
]
},
"addons": {
"apt": {
"packages": [
"graphviz",
"oracle-java8-installer"
]
},
},
"before_install": [
"export M2_HOME=$HOME/apache-maven-3.5.0",
"if [ ! -d $M2_HOME/bin ]; then curl https://archive.apache.org/dist/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.tar.gz | tar zxf - -C $HOME; fi",
"export PATH=$M2_HOME/bin:$PATH",
"wget https://raw.githubusercontent.com/earcam/io.earcam.maven/master/io.earcam.maven.toolchain/src/main/resources/toolchain/continuous-integration-hotspot-linux-debian-amd64.xml -O ~/.m2/toolchains.xml",
],
"install": [
"chmod go-rwx -R $HOME/.m2"
],
"script": [
"mvn -DskipTests clean verify"
],
}