Skip to content

Commit

Permalink
修复github-ci失败的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
dongchenxu committed Sep 20, 2019
1 parent 8242b07 commit be537f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
12 changes: 2 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
language: generic

jdk:
- openjdk6
- oraclejdk6
- openjdk7
- oraclejdk7
- openjdk8
- oraclejdk8


cache:
directories:
- "$HOME/.m2/repository"

script:
- mvn -v
- export JAVA_HOME=$HOME/openjdk8
- $TRAVIS_BUILD_DIR/install-jdk.sh --install openjdk8 --target $JAVA_HOME
- mvn -PgithubCI -X clean cobertura:cobertura -Dmaven.test.skip=false

after_success:
Expand Down
3 changes: 1 addition & 2 deletions sandbox-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@
<artifactId>tools</artifactId>
<version>1.8</version>
<scope>system</scope>
<!-- <systemPath>${tools-jar}</systemPath>-->
<systemPath>${java.home}/lib/tools.jar</systemPath>
<systemPath>${tools-jar}</systemPath>
</dependency>

<dependency>
Expand Down

0 comments on commit be537f9

Please sign in to comment.