forked from hcoles/pitest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (36 loc) · 1.24 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
sudo: false
language: java
# Get latest install-jdk.sh script
before_install:
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
env:
global:
# taken first download mirror from http://maven.apache.org/
- BASEURL=http://mirror.softaculous.com/apache/maven/maven-3/VERSION/binaries/apache-maven-VERSION-bin.tar.gz
- FILE=apache-maven-VERSION-bin.tar.gz
- DIR=apache-maven-VERSION/bin
matrix:
include:
- jdk: openjdk8
env: MAVEN=3.2.5
- jdk: openjdk9
env: MAVEN=3.5.4
- jdk: openjdk10
env: MAVEN=3.5.4
- jdk: openjdk11
env: MAVEN=3.5.4
- jdk: openjdk12
env: MAVEN=3.5.4
- jdk: openjdk13
env: MAVEN=3.6.3
- env: JDK=14 MAVEN=3.6.3
install: . ./install-jdk.sh --feature 14
- env: JDK='OpenJ9 11' MAVEN=3.5.4
install: . ./install-jdk.sh --url "https://api.adoptopenjdk.net/v2/binary/releases/openjdk11?openjdk_impl=openj9&os=linux&arch=x64&release=latest&type=jdk&heap_size=normal"
script:
- wget $(echo -n $BASEURL | sed -e 's#VERSION#'$MAVEN'#g')
- tar -xvzf $(echo -n $FILE | sed -e 's#VERSION#'$MAVEN'#')
- export PATH=$(echo -n $DIR | sed -e 's#VERSION#'$MAVEN'#'):$PATH
- java -version
- mvn -version
- mvn clean install