From be537f9918e4b6d797a3c359f761219c1226bbf6 Mon Sep 17 00:00:00 2001 From: dongchenxu Date: Fri, 20 Sep 2019 20:04:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dgithub-ci=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 12 ++---------- sandbox-core/pom.xml | 3 +-- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 12f87248..d6b1a64a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/sandbox-core/pom.xml b/sandbox-core/pom.xml index aa809566..d4e1a688 100755 --- a/sandbox-core/pom.xml +++ b/sandbox-core/pom.xml @@ -77,8 +77,7 @@ tools 1.8 system - - ${java.home}/lib/tools.jar + ${tools-jar}