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

Last change on this file since 14307 was 14307, checked in by Don-vip, 10 months ago

fix #16819 - travis: build against jdk 10 and 11 (patch by ris)

File size: 661 bytes
Line 
1language: java
2script:
3  - ant -version
4  - (eval "$ANT_INVOCATION $(test ${TRAVIS_JDK_VERSION:0:4} = open && echo -DnoJavaFX=true) test-unit-hardfail")
5os: linux
6dist: trusty
7env:
8  - ANT_INVOCATION="xvfb-run ant -Dtest.headless=false"
9  - ANT_INVOCATION="ant -Dtest.headless=true"
10jdk:
11  - oraclejdk11
12  - oraclejdk10
13  - openjdk8
14matrix:
15  include:
16  - os: osx
17    osx_image: xcode9.2
18    jdk: ~
19    env: ANT_INVOCATION="ant -Dtest.headless=true"
20before_install:
21  - wget https://www.apache.org/dist/ant/binaries/apache-ant-1.10.5-bin.tar.gz
22  - tar -xzvf apache-ant-1.10.5-bin.tar.gz
23  - export PATH=`pwd`/apache-ant-1.10.5/bin:$PATH
Note: See TracBrowser for help on using the repository browser.