2018-07-19 21:05:46 -07:00
|
|
|
# Using new container infrastructure
|
|
|
|
sudo: false
|
|
|
|
|
2019-07-25 21:55:39 -07:00
|
|
|
dist: trusty
|
|
|
|
|
2018-07-19 21:05:46 -07:00
|
|
|
# Using maven
|
2018-07-02 11:59:15 -07:00
|
|
|
language: java
|
|
|
|
jdk:
|
2019-07-25 21:55:39 -07:00
|
|
|
- openjdk8
|
2018-07-19 21:05:46 -07:00
|
|
|
|
|
|
|
# Caching for faster builds
|
2018-07-02 11:59:15 -07:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.m2
|
2018-07-19 21:05:46 -07:00
|
|
|
|
|
|
|
# Only re-build craftbukkit/spigot versions that are missing in the cache
|
|
|
|
# Add entries here for every required version of craftbukkit
|
|
|
|
before_install:
|
2020-08-31 14:37:08 -07:00
|
|
|
- ./installSpigotDependencies.sh
|
2018-07-19 21:05:46 -07:00
|
|
|
|
2018-07-02 11:59:15 -07:00
|
|
|
install: true
|
|
|
|
script: mvn clean install
|