Skip to content

Commit 0e30274

Browse files
committed
travis on windows
1 parent c5f5229 commit 0e30274

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.travis.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
sudo: false
2-
language: java
3-
jdk:
4-
- oraclejdk8
2+
language: shell
3+
os: windows
4+
55
cache:
66
directories:
7-
- $HOME/.m2
7+
- $HOME/.m2
8+
- /c/bin
89

9-
after_success:
10-
- bash <(curl -s https://codecov.io/bash)
10+
before_install:
11+
- echo $HOME
12+
- choco install jdk8 -params 'installdir=c:\\bin\\jdk' -y
13+
- choco install maven -params 'installdir=c:\\bin\\mvn' --version 3.6.0 -y
14+
- export JAVA_HOME=${JAVA_HOME:-/c/bin/jdk}
15+
- echo $JAVA_HOME
16+
script:
17+
mvn install -P -jdeps

0 commit comments

Comments
 (0)