forked from narrowtux/FxDecorate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.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/SpoutDev/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 == SpoutDev/FxDecorate ]] && [[ $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/1444/io8whVS7hXt3p8T7EYoVSLf-
env:
global:
- secure: "Ysf91PUtopWHjP3x04R/iBf1tMvjplnLUrfkU/EnOjACpPuElWV0RGeDuJQr5qlA2IDn6RnP/aN1NzgKaAW0Exu5ECgc/0Gpu2/uAQSW7/vEQ2P5UUK+G7WclYeARaXOBs4gMk1BUhcDyIHauEb4x5YphO1sI/ClkTdHGXqs7iw="
- secure: "XM9Xs/UEp/4b3fEUL0GWCygkyUn45P67vDi7hi79By5EbW6NMuyweZxjozlEJ7ZD27R2aZ1J+A3rNFD0jMyzRUjCcsf+ACPgua+ppFljx02s9gugPgKVEa/FjkA616WkF3eJKz7ff08U+NgkTBs75Mw4BIoKjUPIecSj3fXnURk="