FInished Travis config to download BuildTools
This commit is contained in:
parent
e4813e08fe
commit
313a568304
1 changed files with 9 additions and 1 deletions
10
.travis.yml
10
.travis.yml
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue