From d6c3ec7c7e67c27141cfe61e1a15c65c8d51d0c5 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Mon, 26 Jun 2017 17:14:45 +0200 Subject: [PATCH] Apparently it doesn't work like that --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8e6f3a1..60f6662 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,10 +2,9 @@ cache: directories: - $HOME/.m2/repository/org/bukkit/craftbukkit before_install: # Wget BuildTools and run if cached folder not found - - if [ ! -d "$HOME/.m2/repository/org/bukkit/craftbukkit" ]; then + - if [ -d "$HOME/.m2/repository/org/bukkit/craftbukkit" ]; then exit 0; fi - wget -O BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar - java -jar BuildTools.jar - - fi language: java jdk: