2017-06-25 20:22:28 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.m2/repository/org/bukkit/craftbukkit
|
2017-06-26 15:35:46 +00:00
|
|
|
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
|
|
|
|
wget -O BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
|
|
|
|
java -jar BuildTools.jar --rev 1.12
|
|
|
|
fi
|
2017-06-26 15:04:34 +00:00
|
|
|
|
|
|
|
language: java
|
|
|
|
jdk:
|
|
|
|
- oraclejdk8
|
2017-06-26 21:16:32 +00:00
|
|
|
sudo: false # Enable after each server update
|