From db97f3615e1253347351b0a2a024fae6289ddca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Bl=C3=A4sing?= Date: Sat, 17 Dec 2022 15:39:22 +0100 Subject: [PATCH] Fix travis build --- .travis.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index af95e0f31e..c81d81995e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,17 @@ os: linux -dist: trusty +dist: jammy language: java before_install: - - | - if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)' - then - echo "Not running CI since only docs were changed." - travis_terminate 0 - fi - - sudo apt-get -m install openjdk-11-jdk libltdl-dev; + - sudo apt-get -m install openjdk-11-jdk libltdl-dev curl; - export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-arm64; - - export PATH=$JAVA_HOME/bin:$PATH; + - export PATH=$JAVA_HOME/bin:$PATH; + - mkdir $HOME/local + - export PATH=$HOME/local/bin:$PATH + - curl -o autoconf-2.71.tar.gz https://ftp.gnu.org/gnu/autoconf/autoconf-2.71.tar.gz + - tar xzvf autoconf-2.71.tar.gz + - cd autoconf-2.71; ./configure --prefix $HOME/local; make; make install; cd .. install: - export APACHE_ANT_BASE=$(curl http://apache.mirror.iphh.net/ant/binaries/ | grep "apache-ant-1.9..*-bin.tar.gz" | tail -1 | sed 's/.*href="\([^"]*\)-bin.tar.gz".*/\1/g')