-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
23 lines (20 loc) · 1.32 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
# Source language and JDK version to use.
language: java
jdk: oraclejdk7
# Compile and package JAR and set build properties.
install: mvn package -DbuildNumber=$TRAVIS_BUILD_NUMBER -DciSystem=travis -Dcommit=${TRAVIS_COMMIT:0:7}
after_success:
# Get files for use with build, namely the custom Maven settings.xml.
- "git clone https://github.com/Vanilla/travis-ci-resources.git target/travis"
# Check if commit s not a pull request, if git repo is official, and if branch is master. If checks pass, deploy artifacts to Maven repository.
- "[[ $TRAVIS_PULL_REQUEST == false ]] && [[ $TRAVIS_REPO_SLUG == Vanilla/BukkitBridge ]] && [[ $TRAVIS_BRANCH == master ]] && mvn deploy --settings target/travis/settings.xml"
notifications:
# Disable build status email notifications, until the issue with forks is fixed.
email: false
webhooks:
# Send build information and status to Notifico.
- http://n.tkte.ch/h/496/6da80Yf7zAa4bvdaQC2_LJIK
env:
global:
- secure: "H1by+6w4HbMTCwVrErIMdN/gLSquO0MKYb+qgs3guaD2CttF89qnMHXj1lBwXiazeEc5xDjbnsNzplf3zv6O9X8/ug7GiLBD3fNCElcuMqjzzgaQNEm9ie2O4Lh/r+2Qts95cxpBZb5Ga3PW4RrtD9FrS66ZO2CIcQLFkz0pmeg="
- secure: "b5LS5b2CpGT+tT2FB0DH5cEpkfieFDimxM9TMUtn1XgB+Y+kbF4oFWLu2w4gJwYHpu9RZI7Db0wxAhM3mgbmfC28w3O/zSIKmdrF18ASBLcX8d8+U2kacoyjnswS85X+iRsZbennTD/e21JhfVwxNwsVEv5yuUXNZxg+dATj9Ww="