You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2022/07/08 13:04:39 UTC

[jmeter] branch master updated: install-jdk.sh on travis doesn't support Java 8 with Focal

This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new d07220973b install-jdk.sh on travis doesn't support Java 8 with Focal
d07220973b is described below

commit d07220973bb4be05c511f6f6874894b9accc384b
Author: Felix Schumacher <fe...@internetallee.de>
AuthorDate: Fri Jul 8 15:04:22 2022 +0200

    install-jdk.sh on travis doesn't support Java 8 with Focal
---
 .travis.yml | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 756b8c9430..262e2cb501 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,11 +29,16 @@ matrix:
     - name: Tests with OpenJDK 11 on s390x
   include:
     - name: Tests with OpenJDK 8 + code coverage
-      jdk: openjdk8
+      before_script:
+        - export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
       script:
         - xvfb-run ./gradlew build jacocoReport $SKIP_TAR
       after_success:
         - bash <(curl -s https://codecov.io/bash)
+      addons:
+        apt:
+          packages:
+            - openjdk-8-jdk
     - name: Tests with OpenJDK 11
       jdk: openjdk11
       addons:
@@ -91,7 +96,12 @@ matrix:
         # Spotless, Checkstyle, and JaCoCo are verified here to ensure they all work with the latest supported Java
         - xvfb-run ./gradlew build jacocoReport -Duser.language=fr -Duser.country=FR $SKIP_TAR
     - name: jmeter-maven-plugin tests
-      jdk: openjdk8
+      addons:
+        apt:
+          packages:
+            - openjdk-8-jdk
+      before_script:
+        - export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
       script:
         - ./gradlew -PskipJavadoc publishToMavenLocal -Pjmeter.version=42.0 -PchecksumIgnore
         - cd ..