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