Last change
on this file since 14302 was 14141, checked in by Don-vip, 6 years ago |
fix #16601 - test targets: add "-hardfail" variants which will abort with an error code on failure (patch by ris)
|
File size:
602 bytes
|
Line | |
---|
1 | language: java
|
---|
2 | script: (eval "$ANT_INVOCATION $(test $TRAVIS_JDK_VERSION = openjdk8 && echo -DnoJavaFX=true) test-unit-hardfail")
|
---|
3 | os: linux
|
---|
4 | dist: trusty
|
---|
5 | env:
|
---|
6 | - ANT_INVOCATION="xvfb-run ant -Dtest.headless=false"
|
---|
7 | - ANT_INVOCATION="ant -Dtest.headless=true"
|
---|
8 | jdk:
|
---|
9 | - oraclejdk9
|
---|
10 | - oraclejdk8
|
---|
11 | - openjdk8
|
---|
12 | matrix:
|
---|
13 | include:
|
---|
14 | - os: osx
|
---|
15 | osx_image: xcode9.2
|
---|
16 | jdk: ~
|
---|
17 | env: ANT_INVOCATION="ant -Dtest.headless=true"
|
---|
18 | before_install:
|
---|
19 | - >
|
---|
20 | case "${TRAVIS_OS_NAME:-linux}" in
|
---|
21 | linux)
|
---|
22 | ;;
|
---|
23 | osx)
|
---|
24 | brew update
|
---|
25 | brew install ant
|
---|
26 | ;;
|
---|
27 | esac;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.