forked from APDevTeam/Movecraft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (31 loc) · 1.88 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
cache:
directories:
- "$HOME/.m2/repository"
before_install: |
if [ ! -d "$HOME/.m2/repository/org/spigotmc/spigot/1.10.2-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.10.2 | grep -vE "[^/ ]*/[^/ ]*\s*KB\s*$" | grep -v "^\s*$"
fi
if [ ! -d "$HOME/.m2/repository/org/spigotmc/spigot/1.11.2-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.11.2 | grep -vE "[^/ ]*/[^/ ]*\s*KB\s*$" | grep -v "^\s*$"
fi
if [ ! -d "$HOME/.m2/repository/org/spigotmc/spigot/1.12.1-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.1 | grep -vE "[^/ ]*/[^/ ]*\s*KB\s*$" | grep -v "^\s*$"
fi
language: java
jdk: oraclejdk8
sudo: false
dist: trusty
install:
- mvn clean package -B -V
deploy:
provider: releases
api_key:
secure: BAb4F5UKiEUUbJyZkDKAnDlQMF+KJNYlg1Unv9sb/43w8JxdvM3x5uSp8KndVUzwLH1rXLudhY3TPVVvDha4hrsuMW7LzqevKLsrMFXTqXAVJIquJ01ohuvMPa4XV6+6keWVlv0QCCu2F4jjKR861bQRUUYdY5pMSSTc6wmnk8X2IRZNe6E1vK23wdaLNrkx4f9R+msXmo9lsqnktiAxRWKxrE1Btm3TchMgokz+qoCULjvSaZBZZdHEeZjJ93tD80Pmi6w8000NTwTNcEITYsLLJ4tbDfhGS8I2tzBFt7vXjs2UM74YoZIGsHvWf8gGBIv1txSG72Nornf5IX5lOOHfdCb1QxkqTyhdx+poyfL47z6g6IzC6dIHbZH6y6QLGcI95+TVhMxbtszDgttzGfmpxyUv/zDtNSgGLOG7u4ps56Qh132qS0X2+Ky6qoN1ExkuNuaZMhrUBlz0nu9Ze46A18CcXZrSGWSYrC0TQNWIeb3wVla9HQh/kIVa3kIs2LcjsJMtlTW1FKry+lvI3cGlXHsD4Nj2MLfA7M0JftNwO3WQZCF5sPAlJl6+3lsqYpMfN4MZ8Xv/aWRIqopN/J/Aou5L8Bj1hyJN2VwC/z2Oe1+uWFFQqeu2mWHa/WAdRucalMs2wSnBfBcZ92lroYLhGc602z74eN+uWEMSWOg=
file: "target/Movecraft.jar"
skip_cleanup: true
on:
repo: APDevTeam/Movecraft
tags: true