Fix travis builds

This commit is contained in:
Gabriele C 2022-04-10 18:46:28 +02:00 committed by GitHub
parent 5c83f5e261
commit 677a3f5dd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 7 deletions

View File

@ -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'