You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2018/06/12 10:08:27 UTC

svn commit: r1833390 - /jmeter/trunk/.travis.yml

Author: pmouawad
Date: Tue Jun 12 10:08:27 2018
New Revision: 1833390

URL: http://svn.apache.org/viewvc?rev=1833390&view=rev
Log:
Fix travis compilation error.
Try running tests with JDK10, JDK11

Modified:
    jmeter/trunk/.travis.yml

Modified: jmeter/trunk/.travis.yml
URL: http://svn.apache.org/viewvc/jmeter/trunk/.travis.yml?rev=1833390&r1=1833389&r2=1833390&view=diff
==============================================================================
--- jmeter/trunk/.travis.yml (original)
+++ jmeter/trunk/.travis.yml Tue Jun 12 10:08:27 2018
@@ -1,9 +1,8 @@
 sudo: false
 addons:
-    apt:
-        packages:
-            - oracle-java9-installer
-
+  apt:
+    packages:
+      - oracle-java9-installer
 language: java
 
 before_script:
@@ -11,7 +10,6 @@ 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"
@@ -25,17 +23,19 @@ matrix:
     - jdk: oraclejdk8
       env: RUN_CHECKSTYLE=true
       script: ant -Djava.awt.headless=true checkstyle
-    - jdk: oraclejdk9
+    - jdk: oraclejdk8
       script: 
           - ant -Ddisable-svnCheck=true -Djava.awt.headless=true -Drmi_force_localhost=true -Dskip.bug52310=true coverage-travis
-#          - jdk_switcher use oraclejdk10
-#          - ant -Ddisable-svnCheck=true -Djava.awt.headless=true -Drmi_force_localhost=true -Dskip.bug52310=true coverage-travis
-#          - jdk_switcher use oraclejdk11
-#          - ant -Ddisable-svnCheck=true -Djava.awt.headless=true -Drmi_force_localhost=true -Dskip.bug52310=true coverage-travis
+          - jdk_switcher use oraclejdk10
+          - ant -Ddisable-svnCheck=true -Djava.awt.headless=true -Drmi_force_localhost=true -Dskip.bug52310=true coverage-travis
+          - jdk_switcher use oraclejdk11
+          - 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
-# No building with JDK9 nor JDK10 as it has a bug and will not compile JMeter
+# disable 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
 
 after_success:
     - bash <(curl -s https://codecov.io/bash)