From 8ceb79badad9e130443334bec8e1692f015f351f Mon Sep 17 00:00:00 2001 From: Kaarthik Sivashanmugam Date: Mon, 26 Nov 2018 18:19:11 -0800 Subject: [PATCH 1/3] bump jdk version --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2e56c979..8d805180 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ solution: csharp/SparkCLR.sln sudo: required dist: trusty env: - - JDK=openjdk7 + - JDK=openjdk8 before_install: - sudo apt-get install xsltproc - nuget install NUnit.Runners -Version 3.0.0 -OutputDirectory testrunner From c0929d03a9844c98f09d3ecee5ec7a7ba31d5ea6 Mon Sep 17 00:00:00 2001 From: Kaarthik Sivashanmugam Date: Mon, 26 Nov 2018 19:13:49 -0800 Subject: [PATCH 2/3] jdk fixes --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8d805180..98178b02 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,8 +2,8 @@ language: csharp solution: csharp/SparkCLR.sln sudo: required dist: trusty -env: - - JDK=openjdk8 +jdk: + - openjdk8 before_install: - sudo apt-get install xsltproc - nuget install NUnit.Runners -Version 3.0.0 -OutputDirectory testrunner @@ -14,9 +14,9 @@ before_install: - export M2="$M2_HOME/bin" - export PATH="$M2:$PATH" - hash -r -before_script: - - jdk_switcher use $JDK -script: +script + - echo JAVA_HOME = ${JAVA_HOME} + - java -version - export MAVEN_OPTS="-XX:MaxPermSize=2g -Xmx4g" - export JAVA_OPTS="-XX:MaxPermSize=2g -Xmx4g" - export NUNITCONSOLE="`pwd`/testrunner/NUnit.Console.3.0.0/tools/nunit3-console.exe" From 1e9ca428c327a245ee631665bec8d1d9181eb751 Mon Sep 17 00:00:00 2001 From: Kaarthik Sivashanmugam Date: Mon, 26 Nov 2018 19:21:05 -0800 Subject: [PATCH 3/3] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 98178b02..6a3ab306 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ before_install: - export M2="$M2_HOME/bin" - export PATH="$M2:$PATH" - hash -r -script +script: - echo JAVA_HOME = ${JAVA_HOME} - java -version - export MAVEN_OPTS="-XX:MaxPermSize=2g -Xmx4g"