forked from apache/jmeter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (31 loc) · 1.31 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
sudo: false
addons:
apt:
packages:
- oracle-java9-installer
language: java
before_script:
- test "x$RUN_CHECKSTYLE" != 'x' || ant -Djava.awt.headless=true download_jars install
- test "x$RUN_CHECKSTYLE" != 'xtrue' || ant -Djava.awt.headless=true download_checkstyle
before_install:
- wget --no-check-certificate https://www.apache.org/dist/ant/binaries/apache-ant-1.10.2-bin.tar.gz
- tar -xzvf apache-ant-1.10.2-bin.tar.gz
- export PATH="$(pwd)/apache-ant-1.10.2/bin:$PATH"
- echo $(ant -version)
# skip default "install" command
install: true
matrix:
include:
- jdk: oraclejdk8
env: RUN_CHECKSTYLE=true
script: ant -Djava.awt.headless=true checkstyle
- jdk: oraclejdk8
script: 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
# 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)