FInished Travis config to download BuildTools

This commit is contained in:
Norbi Peti 2017-06-26 17:04:34 +02:00 committed by GitHub
parent e4813e08fe
commit 313a568304

View file

@ -1,4 +1,12 @@
cache: cache:
directories: directories:
- $HOME/.m2/repository/org/bukkit/craftbukkit - $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