Skip to content

Commit 6db2232

Browse files
committed
Simplify matrix build for travis-ci and add (failing) java EA build
Closes apache#438 git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1852839 13f79535-47bb-0310-9956-ffa450edef68 Former-commit-id: 295528a
1 parent 5173734 commit 6db2232

1 file changed

Lines changed: 23 additions & 9 deletions

File tree

.travis.yml

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,38 @@ before_install:
1414
# skip default "install" command
1515
install: true
1616

17+
env:
18+
global:
19+
- ANT_OPTS="-Ddisable-svnCheck=true -Djava.awt.headless=true -Drmi_force_localhost=true -Dskip.bug52310=true"
20+
1721
matrix:
1822
include:
1923
- jdk: oraclejdk8
2024
env: RUN_CHECKSTYLE=true
2125
script: ant -Djava.awt.headless=true checkstyle
22-
- jdk: oraclejdk8
23-
script:
24-
- ant -Ddisable-svnCheck=true -Djava.awt.headless=true -Drmi_force_localhost=true -Dskip.bug52310=true coverage-travis
26+
- name: Coverage on our default build with Oracle Java 8
27+
jdk: oraclejdk8
28+
script:
29+
- ant coverage-travis
2530
after_success:
2631
- bash <(curl -s https://codecov.io/bash)
2732
sudo: true # otherwise TEST_HTTPS.jmx -> analytics.usa.gov does not work
28-
- jdk: openjdk8
29-
script:
30-
- ant -Ddisable-svnCheck=true -Djava.awt.headless=true -Drmi_force_localhost=true -Dskip.bug52310=true coverage-travis
31-
- jdk: openjdk11
32-
script:
33-
- ant -Ddisable-svnCheck=true -Djava.awt.headless=true -Drmi_force_localhost=true -Dskip.bug52310=true coverage-travis
33+
- name: Tests with OpenJDK 8
34+
jdk: openjdk8
35+
script:
36+
- ant test
37+
- name: Tests with OpenJDK 11
38+
jdk: openjdk11
39+
script:
40+
- ant test
41+
sudo: true # otherwise TEST_HTTPS.jmx -> analytics.usa.gov does not work
42+
- name: Tests with OpenJDK EA
43+
jdk: openjdk-ea
44+
script:
45+
- ant test
3446
sudo: true # otherwise TEST_HTTPS.jmx -> analytics.usa.gov does not work
47+
allow_failures:
48+
- jdk: openjdk-ea
3549
# disable building with jdk9 as it has a bug and will not compile JMeter
3650
# see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8193802
3751
# - jdk: oraclejdk9

0 commit comments

Comments
 (0)