Line | |
---|
1 | language: java
|
---|
2 | script:
|
---|
3 | - ant -version
|
---|
4 | - $ANT_INVOCATION -DnoJavaFX=true test-unit-hardfail
|
---|
5 | - "grep -L ', Failures: 0, Errors: 0, ' test/report/*.txt | xargs cat"
|
---|
6 | env:
|
---|
7 | - ANT_INVOCATION="xvfb-run ant -Dtest.headless=false"
|
---|
8 | - ANT_INVOCATION="ant -Dtest.headless=true"
|
---|
9 | jdk:
|
---|
10 | - openjdk8
|
---|
11 | - openjdk11
|
---|
12 | os: linux
|
---|
13 | dist: trusty
|
---|
14 | matrix:
|
---|
15 | include:
|
---|
16 | - os: osx
|
---|
17 | osx_image: xcode9.3
|
---|
18 | jdk: ~
|
---|
19 | env: ANT_INVOCATION="ant -Dtest.headless=true"
|
---|
20 | - os: osx
|
---|
21 | osx_image: xcode10
|
---|
22 | jdk: ~
|
---|
23 | env: ANT_INVOCATION="ant -Dtest.headless=true"
|
---|
24 | - os: windows
|
---|
25 | language: shell
|
---|
26 | jdk: oraclejdk11
|
---|
27 | env: ANT_INVOCATION="ant -Dtest.headless=true"
|
---|
28 | before_install:
|
---|
29 | - "curl https://downloads.apache.org/ant/binaries/apache-ant-1.10.8-bin.tar.gz | tar -xzv"
|
---|
30 | - "export PATH=`pwd`/apache-ant-1.10.8/bin:$PATH"
|
---|
31 | - if [ "$TRAVIS_OS_NAME" == "windows" ] ; then choco install jdk11 && export JAVA_HOME="/c/Program Files/Java/jdk-11" ; fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.