Changeset 17086 in josm


Ignore:
Timestamp:
2020-10-06T22:46:33+02:00 (12 months ago)
Author:
simon04
Message:

fix #19249 - CI: download Ant from a stable URL

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/ant.yml

    r16776 r17086  
    5353        # Todo: cache ant and junit, saves 12 seconds.
    5454        run: |
    55           curl -s https://downloads.apache.org/ant/binaries/${{ env.ANT_HOME }}-bin.tar.gz | tar -xz
     55          curl -s https://archive.apache.org/dist/ant/binaries/${{ env.ANT_HOME }}-bin.tar.gz | tar -xz
    5656          curl -o ${{ env.ANT_HOME }}/lib/junit-platform-console-standalone-${{ env.junit_platform_version }}.jar  "https://repo1.maven.org/maven2/org/junit/platform/junit-platform-console-standalone/${{ env.junit_platform_version }}/junit-platform-console-standalone-${{ env.junit_platform_version }}.jar"
    5757      - name: Print ant version, expecting ${{ env.ANT_HOME }}
    58         run: ${{ env.ANT_HOME }}/bin/ant -version
     58        run: ${{ env.ANT_HOME }}/bin/ant -diagnostics
    5959      - name: Build with Ant, headless ${{ matrix.headless }}
    6060        run: |
  • trunk/.travis.yml

    r16432 r17086  
    11language: java
    22script:
    3   - ant -version
     3  - ant -diagnostics
    44  - $ANT_INVOCATION -DnoJavaFX=true test-unit-hardfail
    55  - "grep -L ', Failures: 0, Errors: 0, ' test/report/*.txt | xargs cat"
     
    2727    env: ANT_INVOCATION="ant -Dtest.headless=true"
    2828before_install:
    29   - "curl https://downloads.apache.org/ant/binaries/apache-ant-1.10.8-bin.tar.gz | tar -xzv"
     29  - "curl https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.8-bin.tar.gz | tar -xzv"
    3030  - "export PATH=`pwd`/apache-ant-1.10.8/bin:$PATH"
    3131  - 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.