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

Last change on this file since 16708 was 16432, checked in by simon04, 5 years ago

fix #19249 - Travis CI: fix Apache Ant download

File size: 969 bytes
RevLine 
[14052]1language: java
[14307]2script:
3 - ant -version
[14316]4 - $ANT_INVOCATION -DnoJavaFX=true test-unit-hardfail
[14312]5 - "grep -L ', Failures: 0, Errors: 0, ' test/report/*.txt | xargs cat"
[14052]6env:
[14312]7 - ANT_INVOCATION="xvfb-run ant -Dtest.headless=false"
8 - ANT_INVOCATION="ant -Dtest.headless=true"
[14052]9jdk:
10 - openjdk8
[14316]11 - openjdk11
[14335]12os: linux
13dist: trusty
[14052]14matrix:
15 include:
16 - os: osx
[14316]17 osx_image: xcode9.3
[14052]18 jdk: ~
[14312]19 env: ANT_INVOCATION="ant -Dtest.headless=true"
[14316]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"
[14052]28before_install:
[16432]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"
[14316]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.