From 313a568304933fe099a6b0123b5880bdd27ede0f Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Mon, 26 Jun 2017 17:04:34 +0200 Subject: [PATCH] FInished Travis config to download BuildTools --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index cd7dadc..8e6f3a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,12 @@ cache: directories: - $HOME/.m2/repository/org/bukkit/craftbukkit -# before_install: - Wget BuildTools and run if cached folder not found +before_install: # Wget BuildTools and run if cached folder not found + - if [ ! -d "$HOME/.m2/repository/org/bukkit/craftbukkit" ]; then + - wget -O BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar + - java -jar BuildTools.jar + - fi + +language: java +jdk: + - oraclejdk8