forked from sejda-pdf/webp-imageio
-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
74 lines (62 loc) · 1.64 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
68
69
70
71
72
73
74
os: linux
dist: xenial
jobs:
include:
- os: windows
language: shell
before_install:
- |-
export JAVA_HOME=${JAVA_HOME:-/c/jdk}
export MAVEN_HOME=${MAVEN_HOME:-/c/ProgramData/chocolatey/lib/maven/apache-maven-3.6.3}
export PATH=${JAVA_HOME}/bin:${MAVEN_HOME}/bin:${PATH}
choco install jdk8 -params 'installdir=c:\\jdk' -y
choco install maven --version 3.6.3 -y
java -version
echo $MAVEN_HOME
ls $MAVEN_HOME
echo $MAVEN_HOME/bin
ls $MAVEN_HOME/bin
mvn -version
script: mvn clean test
- os: linux
arch: amd64
jdk: openjdk8
script: mvn clean test
- os: linux
arch: amd64
jdk: openjdk11
script: mvn clean test
- os: linux
arch: arm64
before_install:
- sudo apt-get update
- sudo apt-get -y install openjdk-8-jdk maven
script: mvn clean test
# Cannot install JDK 11 on Linux/arm64
# - os: linux
# arch: arm64
# before_install:
# - sudo apt-get update
# - sudo apt-get install -y openjdk-11-jdk maven
# script: mvn clean test
- os: osx
language: java
osx_image: xcode7.3
script: mvn clean test
- os: osx
language: java
osx_image: xcode8.3
script: mvn clean test
- os: osx
language: java
osx_image: xcode9.3
script: mvn clean test
- os: osx
language: java
osx_image: xcode10.2
script: mvn clean test
- os: osx
language: java
osx_image: xcode11.4
script: mvn clean test
install: true