Changeset 14316 in josm for trunk/.travis.yml


Ignore:
Timestamp:
2018-10-13T01:37:04+02:00 (6 years ago)
Author:
Don-vip
Message:

rework Travis config:

  • add Windows build (Oracle JDK 11 only as Java is not fully supported yet)
  • drop openjdk10 (not LTS)
  • use openjdk11 on Linux instead of oraclejdk11
  • add macOS xcode10 (ships with jdk10)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r14312 r14316  
    22script:
    33  - ant -version
    4   - (eval "$ANT_INVOCATION $(test ${TRAVIS_JDK_VERSION:0:4} = open && echo -DnoJavaFX=true) test-unit-hardfail")
     4  - $ANT_INVOCATION -DnoJavaFX=true test-unit-hardfail
    55  - "grep -L ', Failures: 0, Errors: 0, ' test/report/*.txt | xargs cat"
    6 os: linux
    7 dist: trusty
    86env:
    97  - ANT_INVOCATION="xvfb-run ant -Dtest.headless=false"
    108  - ANT_INVOCATION="ant -Dtest.headless=true"
    119jdk:
    12   - oraclejdk11
    13   - oraclejdk10
    1410  - openjdk8
     11  - openjdk11
    1512matrix:
    1613  include:
     14  - os: linux
     15    dist: trusty
    1716  - os: osx
    18     osx_image: xcode9.2
     17    osx_image: xcode9.3
    1918    jdk: ~
     19    env: ANT_INVOCATION="ant -Dtest.headless=true"
     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
    2027    env: ANT_INVOCATION="ant -Dtest.headless=true"
    2128before_install:
     
    2330  - tar -xzvf apache-ant-1.10.5-bin.tar.gz
    2431  - export PATH=`pwd`/apache-ant-1.10.5/bin:$PATH
     32  - if [ "$TRAVIS_OS_NAME" == "windows" ] ; then choco install jdk11 && export JAVA_HOME="/c/Program Files/Java/jdk-11" ; fi
Note: See TracChangeset for help on using the changeset viewer.