You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by vl...@apache.org on 2019/10/01 11:00:15 UTC

[jmeter] branch master updated: Restore headless=true for OpenJDK11 job

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

vladimirsitnikov 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 972a0d1  Restore headless=true for OpenJDK11 job
972a0d1 is described below

commit 972a0d1c317934127f9f10ba2821a22d1d8e1723
Author: Vladimir Sitnikov <si...@gmail.com>
AuthorDate: Tue Oct 1 14:00:05 2019 +0300

    Restore headless=true for OpenJDK11 job
    
    We need at least one headless=true CI job to ensure JMeter is workable without GUI.
---
 .travis.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 2ce6652..4d0fdf3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -40,7 +40,8 @@ matrix:
         - LANG=fr_FR.UTF-8
         - LC_ALL=fr_FR.UTF-8
       script:
-        - xvfb-run ./gradlew -Duser.language=fr -Duser.country=FR $SKIP_DIST_TASKS -PskipCheckstyle -PskipSpotless build javadocAggregate createDist
+        # This job verifies headless mode to ensure Apache JMeter is workable in headless as well
+        - ./gradlew -Djava.awt.headless=true -Duser.language=fr -Duser.country=FR $SKIP_DIST_TASKS -PskipCheckstyle -PskipSpotless build javadocAggregate createDist
     - name: Tests with OpenJDK 12
       # Might switch to openjdk-ea when https://github.com/gradle/gradle/issues/10248 is fixed
       jdk: openjdk12