From e25b3740b6ee5c1429be1286b63557c353b527e5 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Mon, 30 Oct 2017 13:33:23 +0100 Subject: [PATCH] Updated Travis config --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index fb3af76..a4cab27 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,11 @@ cache: directories: - - $HOME/.m2/repository/org/bukkit/craftbukkit + - $HOME/.m2/repository/org before_install: | # Wget BuildTools and run if cached folder not found - if [ ! -d "$HOME/.m2/repository/org/bukkit/craftbukkit/1.12-R0.1-SNAPSHOT" ]; then + if [ ! -d "$HOME/.m2/repository/org/bukkit/craftbukkit/1.12.2-R0.1-SNAPSHOT" ]; then wget -O BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar - java -jar BuildTools.jar --rev 1.12 + # grep so that download counts don't appear in log files + java -jar BuildTools.jar --rev 1.12.2 | grep -vE "[^/ ]*/[^/ ]*\s*KB\s*$" | grep -v "^\s*$" fi language: java