-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
27 lines (27 loc) · 1.19 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
24
25
26
27
language: java
jdk:
- oraclejdk7
sudo: false
addons:
apt:
packages:
- curl
before_install:
- sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g' ~/.m2/settings.xml
notifications:
slack:
secure: JmNq1sGb57RBYnQZFE+3EDN31ya+Jd1puzFFWzYt6z/MJPw+Ib+hlCdDbniu3CRZnxJWNndbHUA6DTjtxjT9fJxH8/nEwIjY46xXHVyDduqkmLfTydihDsS1AeHph51oeHaqWNVK5Z3in/qRCWIbjiADrKaHalF0Uz6QaCDuCNg=
email:
cache:
after_success:
- curl http://demo.fiteagle.org/trigger.php?c=fiteagle
- mvn clean test jacoco:report coveralls:report
env:
global:
- secure: bo4huAdRKsj0KvhxmLdoLqSFjtR6uRD0HpUZau+pRAvwp0bBY+k1z5wcS+dOoKhNdDGLg2aZClMabq0sbO0/ZnBvjQ+GhNeuKsUNoTN1LSqc2n7Yx6xGUQ+JxKO7NGVm2rxQUTgbq6Qp40CEmFu91I8emhi+LIjY6AcpHkt0yPk=
- secure: lpNX+EvXE4mK/kaXUkOmoAruvadG2+4pTTuikDc+rhNEdoQggLLOlVTEAJtGl9PkdEZNA4fD8bG86qebQD7EY21wGgR0/vwZ+B9p/h7U2wXxFpfP87NIvugWcIXRbkPD1MeRyG04Qw4StfkrgS6pfv3gjYIjqYj7YlA0Aig99UM=
script:
- travis_retry mvn site
- if [[ ${TRAVIS_PULL_REQUEST} == "false" && ${TRAVIS_BRANCH} == "master" ]]; then mvn deploy --settings .travis/settings.xml; else true; fi