You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by el...@apache.org on 2018/04/17 13:38:08 UTC
calcite git commit: [CALCITE-2063] Add JDK 10 to .travis.yml
Repository: calcite
Updated Branches:
refs/heads/master d83cb9029 -> 9085b6010
[CALCITE-2063] Add JDK 10 to .travis.yml
Closes #649
Signed-off-by: Josh Elser <el...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/calcite/repo
Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/9085b601
Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/9085b601
Diff: http://git-wip-us.apache.org/repos/asf/calcite/diff/9085b601
Branch: refs/heads/master
Commit: 9085b601081689b5b7f1e9f57deb20e2229910cb
Parents: d83cb90
Author: Kevin Risden <kr...@apache.org>
Authored: Mon Mar 12 21:17:50 2018 -0500
Committer: Josh Elser <el...@apache.org>
Committed: Tue Apr 17 09:37:58 2018 -0400
----------------------------------------------------------------------
.travis.yml | 26 ++++++++++++++++++--------
1 file changed, 18 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/calcite/blob/9085b601/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 3df535a..0c42959 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,6 +17,12 @@
# limitations under the License.
#
language: java
+matrix:
+ fast_finish: true
+ include:
+ - env: IMAGE=maven:3-jdk-10
+ - env: IMAGE=maven:3-jdk-9
+ - env: IMAGE=maven:3-jdk-8
branches:
only:
- master
@@ -24,20 +30,24 @@ branches:
- javadoc
- /^branch-.*$/
- /^[0-9]+-.*$/
+env:
+ global:
+ - DOCKERRUN="docker run -it --rm -v $PWD:/src -v $HOME/.m2:/root/.m2 -w /src"
+services:
+ - docker
+before_install:
+ - docker pull $IMAGE
install:
- - mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
+ # Print the Maven version, skip tests and javadoc
+ - $DOCKERRUN $IMAGE mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Djavax.net.ssl.trustStorePassword=changeit -B -V
script:
+ # Print surefire output to the console instead of files
- unset _JAVA_OPTIONS
- - mvn -Dsurefire.useFile=false -Dsurefire.parallel= test
+ - $DOCKERRUN $IMAGE mvn -Dsurefire.useFile=false -Dsurefire.parallel= -Djavax.net.ssl.trustStorePassword=changeit test
git:
depth: 10000
-sudo: false
+sudo: required
cache:
directories:
- $HOME/.m2
-matrix:
- fast_finish: true
- include:
- - jdk: oraclejdk8
- - jdk: oraclejdk9
# End .travis.yml