From 677a3f5dd66f93641e7387f7356d1c489562e396 Mon Sep 17 00:00:00 2001 From: Gabriele C Date: Sun, 10 Apr 2022 18:46:28 +0200 Subject: [PATCH] Fix travis builds --- .travis.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 91135f66c..cb4ece531 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,12 @@ sudo: false -dist: trusty +dist: focal language: java -jdk: - - openjdk16 before_install: - - wget https://downloads.apache.org/maven/maven-3/3.8.4/binaries/apache-maven-3.8.4-bin.tar.gz - - tar xzvf apache-maven-3.8.4-bin.tar.gz - - export PATH=`pwd`/apache-maven-3.8.4/bin:$PATH - - mvn -v + - curl -s "https://get.sdkman.io" | bash + - source "$HOME/.sdkman/bin/sdkman-init.sh" + - sdk install java 17-open + - sdk use java 17-open + - sdk install maven cache: directories: - '$HOME/.m2/repository'