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 10:36:23 UTC
[jmeter] branch master updated: Run GUI tests on Travis
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 00fd8f0 Run GUI tests on Travis
00fd8f0 is described below
commit 00fd8f09d578157cc9db5eb6c5e084c89a475d3f
Author: Vladimir Sitnikov <si...@gmail.com>
AuthorDate: Tue Oct 1 12:36:39 2019 +0300
Run GUI tests on Travis
Travis allows to run GUI tests, and it would increase code coverage
https://docs.travis-ci.com/user/gui-and-headless-browsers/#using-xvfb-to-run-tests-that-require-a-gui
---
.travis.yml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 7356495..2ce6652 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,7 +14,7 @@ cache:
env:
global:
- - GRADLE_ARGS="-Djava.awt.headless=true"
+ - GRADLE_ARGS=""
# Building source and binary distributions takes time, and it does not verify much, so we skip it in CI
# However we want to validate licenses
- SKIP_DIST_TASKS="$GRADLE_ARGS -PskipDist :src:licenses:build"
@@ -26,7 +26,7 @@ matrix:
- name: Tests with OpenJDK 8 + code coverage
jdk: openjdk8
script:
- - ./gradlew $GRADLE_ARGS check createDist javadocAggregate jacocoReport
+ - xvfb-run ./gradlew $GRADLE_ARGS check createDist javadocAggregate jacocoReport
after_success:
- bash <(curl -s https://codecov.io/bash)
- name: Tests with OpenJDK 11
@@ -40,11 +40,11 @@ matrix:
- LANG=fr_FR.UTF-8
- LC_ALL=fr_FR.UTF-8
script:
- - ./gradlew -Duser.language=fr -Duser.country=FR $SKIP_DIST_TASKS -PskipCheckstyle -PskipSpotless build javadocAggregate createDist
+ - xvfb-run ./gradlew -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
script:
- - ./gradlew $SKIP_DIST_TASKS -PskipCheckstyle -PskipSpotless build createDist
+ - xvfb-run ./gradlew $SKIP_DIST_TASKS -PskipCheckstyle -PskipSpotless build createDist
allow_failures:
- jdk: openjdk12