forked from JOSM/josm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (32 loc) · 997 Bytes
/
.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
language: java
script:
- ant -version
- $ANT_INVOCATION -DnoJavaFX=true test-unit-hardfail
- "grep -L ', Failures: 0, Errors: 0, ' test/report/*.txt | xargs cat"
env:
- ANT_INVOCATION="xvfb-run ant -Dtest.headless=false"
- ANT_INVOCATION="ant -Dtest.headless=true"
jdk:
- openjdk8
- openjdk11
os: linux
dist: trusty
matrix:
include:
- os: osx
osx_image: xcode9.3
jdk: ~
env: ANT_INVOCATION="ant -Dtest.headless=true"
- os: osx
osx_image: xcode10
jdk: ~
env: ANT_INVOCATION="ant -Dtest.headless=true"
- os: windows
language: shell
jdk: oraclejdk11
env: ANT_INVOCATION="ant -Dtest.headless=true"
before_install:
- wget https://www.apache.org/dist/ant/binaries/apache-ant-1.10.5-bin.tar.gz
- tar -xzvf apache-ant-1.10.5-bin.tar.gz
- export PATH=`pwd`/apache-ant-1.10.5/bin:$PATH
- if [ "$TRAVIS_OS_NAME" == "windows" ] ; then choco install jdk11 && export JAVA_HOME="/c/Program Files/Java/jdk-11" ; fi