forked from sejda-pdf/webp-imageio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (28 loc) · 834 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
jobs:
include:
- os: linux
language: java
dist: xenial
jdk: openjdk8
script: mvn clean test
- os: osx
language: java
osx_image: xcode9
script: mvn clean test
- 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
install: true