Skip to content

Commit

Permalink
Try upgrade to latest 3.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Apr 17, 2021
1 parent b18f4b1 commit 6eb2e49
Showing 1 changed file with 15 additions and 21 deletions.
36 changes: 15 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
image: maven:latest
osx_image: xcode9.3
sudo: false

Expand All @@ -21,29 +22,22 @@ addons:
- maven

# Install OpenJDK 8 (Zulu) and Maven on Windows
before_install:
- |
if [ "${TRAVIS_OS_NAME}" == windows ]; then
choco install -y zulu8
choco install -y maven
export PATH=/C/Program\ Files/Zulu/zulu-8/bin:/C/ProgramData/chocolatey/lib/maven/apache-maven-3.6.3/bin:$PATH
echo "PATH=${PATH}"
fi
#before_install:
# - |
#if [ "${TRAVIS_OS_NAME}" == windows ]; then
#choco install -y zulu8
#choco install -y maven
#export PATH=/C/Program\ Files/Zulu/zulu-8/bin:/C/ProgramData/chocolatey/lib/maven/apache-maven-3.6.3/bin:$PATH
#echo "PATH=${PATH}"
#fi

install: /usr/bin/env true

script: mvn clean install -V -B -s settings.xml -Dmaven.artifact.threads=64 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn

before_cache:
- |
find $HOME/.m2/repository/ -name *SNAPSHOT | xargs rm -Rf
if [ "${TRAVIS_OS_NAME}" == osx ]; then
brew cleanup
fi
cache:
timeout: 1000
directories:
- "$HOME/.m2"
- $HOME/AppData/Local/Temp/chocolatey
- $HOME/Library/Caches/Homebrew
#cache:
# timeout: 5000
#directories:
# - "$HOME/.m2"
# - $HOME/AppData/Local/Temp/chocolatey
# - $HOME/Library/Caches/Homebrew

0 comments on commit 6eb2e49

Please sign in to comment.