Skip to content

Commit be537f9

Browse files
committed
修复github-ci失败的问题
1 parent 8242b07 commit be537f9

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

.travis.yml

+2-10
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
language: generic
22

3-
jdk:
4-
- openjdk6
5-
- oraclejdk6
6-
- openjdk7
7-
- oraclejdk7
8-
- openjdk8
9-
- oraclejdk8
10-
11-
123
cache:
134
directories:
145
- "$HOME/.m2/repository"
156

167
script:
17-
- mvn -v
8+
- export JAVA_HOME=$HOME/openjdk8
9+
- $TRAVIS_BUILD_DIR/install-jdk.sh --install openjdk8 --target $JAVA_HOME
1810
- mvn -PgithubCI -X clean cobertura:cobertura -Dmaven.test.skip=false
1911

2012
after_success:

sandbox-core/pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@
7777
<artifactId>tools</artifactId>
7878
<version>1.8</version>
7979
<scope>system</scope>
80-
<!-- <systemPath>${tools-jar}</systemPath>-->
81-
<systemPath>${java.home}/lib/tools.jar</systemPath>
80+
<systemPath>${tools-jar}</systemPath>
8281
</dependency>
8382

8483
<dependency>

0 commit comments

Comments
 (0)