source: josm/trunk/.travis.yml @ 14265

Last change on this file since 14265 was 14141, checked in by Don-vip, 12 months 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 
1language: java
2script: (eval "$ANT_INVOCATION $(test $TRAVIS_JDK_VERSION = openjdk8 && echo -DnoJavaFX=true) test-unit-hardfail")
3os: linux
4dist: trusty
5env:
6  - ANT_INVOCATION="xvfb-run ant -Dtest.headless=false"
7  - ANT_INVOCATION="ant -Dtest.headless=true"
8jdk:
9  - oraclejdk9
10  - oraclejdk8
11  - openjdk8
12matrix:
13  include:
14  - os: osx
15    osx_image: xcode9.2
16    jdk: ~
17    env: ANT_INVOCATION="ant -Dtest.headless=true"
18before_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.