1language: java
2jdk:
3- oraclejdk7
4
5before_install:
6  - cat ~/.m2/settings.xml
7  - rm  ~/.m2/settings.xml
8
9install:
10  - mvn install -DskipTests=true
11
12script:
13    - mvn test; export MAVEN_RESULT=$?
14    - if [ "$MAVEN_RESULT" -ne 0 ]; then exit 1; fi
15    - if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then mvn clean deploy --quiet --settings settings.xml; fi
16
17after_success:
18  - mvn clean test jacoco:report coveralls:report
19
20
21notifications:
22  email:
23    - richard.vannieuwenhoven@adesso.at
24    - elonen@iki.fi
25
26env:
27 global:
28  - secure: "OtD0z3y4/OjSzg8irVD8v/u0TElcw8AiCCXb7a0UQEnTpGxcf5DOdkvHv0hF4xjHKFtlMMHxevW+a4C4NuFR8it8ZJ/i2m24reB28JicDcRQY9nwV/BR/T08CRG9KDz5EuTHgfPJDF0y+5MiVNwJVhHFviBWKuXyIuYouJ5IHgc="
29  - secure: "tgTVycNLwYDM3U0EVK1TkffylQHfZihvSDC9QoZEo+wz9aBBLoAtUJP7DWltRQFOkfTeGltGHEfGM2/qkIG6Wz+hNFG/fveHqyI01JWXc64d7yBm7agaCP5uTtt2wjaZ7ZK5Mps5QoufblYu+j9gb2v31t9IdsJ9PUs0+wgE/WU="
30
31