/
.travis.yml
25 lines (21 loc) · 949 Bytes
/
.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
# 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}
# Perform steps after compilation/test success
after_success:
# Check if commit is not a pull request, if repo is official, and branch is master, generate reports
- "[[ $TRAVIS_PULL_REQUEST == false ]] && [[ $TRAVIS_REPO_SLUG == CraftFire/AuthDB ]] && [[ $TRAVIS_BRANCH == master ]] && mvn cobertura:cobertura coveralls:cobertura -DserviceJobId=$TRAVIS_JOB_ID"
# Notification services
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/2024/HYCSsCkTGBHnUmwU9teY3Rvz
# Environmental system variables
env:
global:
# Make the log output cleaner
- TERM=dumb