Skip to content

Commit cb6360b

Browse files
committed
travis build for windows and unix
1 parent 25c5150 commit cb6360b

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

.travis.yml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
1-
sudo: false
2-
language: shell
3-
os: windows
1+
language: bash
2+
dist: xenial
3+
os:
4+
- windows
5+
- linux
6+
7+
env:
8+
- JDK="adopt@1.8.212-04"
49

510
cache:
611
directories:
712
- $HOME/.m2
8-
- /c/bin
913

1014
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
15+
- curl "https://raw.githubusercontent.com/nidi3/Mavis-CI/master/mavis.sh" --output mavis.sh
16+
- source mavis.sh
17+
- install_jdk
18+
- install_maven
19+
20+
before_script:
21+
before_script -P -jdeps
22+
1623
script:
17-
mvn install -P -jdeps
24+
script -P -jdeps
25+
26+
after_success:
27+
- bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)