Author: pmouawad
Date: Sun Jun  3 13:09:29 2018
New Revision: 1832766

URL: http://svn.apache.org/viewvc?rev=1832766&view=rev
Log:
Try building/testing with JDK10

Modified:
    jmeter/trunk/.travis.yml

Modified: jmeter/trunk/.travis.yml
URL: 
http://svn.apache.org/viewvc/jmeter/trunk/.travis.yml?rev=1832766&r1=1832765&r2=1832766&view=diff
==============================================================================
--- jmeter/trunk/.travis.yml (original)
+++ jmeter/trunk/.travis.yml Sun Jun  3 13:09:29 2018
@@ -1,8 +1,4 @@
 sudo: false
-addons:
-  apt:
-    packages:
-      - oracle-java9-installer
 language: java
 
 before_script:
@@ -10,6 +6,7 @@ before_script:
   - test "x$RUN_CHECKSTYLE" != 'xtrue' || ant -Djava.awt.headless=true 
download_checkstyle
 
 before_install:
+    - unset _JAVA_OPTIONS
     - wget --no-check-certificate 
https://www.apache.org/dist/ant/binaries/apache-ant-1.10.3-bin.tar.gz
     - tar -xzvf apache-ant-1.10.3-bin.tar.gz
     - export PATH="$(pwd)/apache-ant-1.10.3/bin:$PATH"
@@ -29,11 +26,12 @@ matrix:
           - jdk_switcher use oraclejdk9
           - ant -Ddisable-svnCheck=true -Djava.awt.headless=true 
-Drmi_force_localhost=true -Dskip.bug52310=true coverage-travis
       sudo: true # otherwise TEST_HTTPS.jmx -> analytics.usa.gov does not work
-# disable building with jdk9 as it has a bug and will not compile JMeter
+# No building with jdk9 as it has a bug and will not compile JMeter
 # see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8193802
-#    - jdk: oraclejdk9
-#      script: ant -Djava.awt.headless=true -Drmi_force_localhost=true 
-Dskip.bug52310=true test
-#      sudo: true # otherwise TEST_HTTPS.jmx -> analytics.usa.gov does not work
+#
+    - jdk: oraclejdk10
+      script: ant -Djava.awt.headless=true -Drmi_force_localhost=true 
-Dskip.bug52310=true test
+      sudo: true # otherwise TEST_HTTPS.jmx -> analytics.usa.gov does not work
 
 after_success:
     - bash <(curl -s https://codecov.io/bash)


Reply via email to