forked from sachin-handiekar/jInstagram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (30 loc) · 1.06 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
28
29
30
31
32
sudo: false
cache:
directories:
- '$HOME/.m2/repository'
before_script:
- pip install --user codecov
language: java
install: mvn clean install
after_success:
- codecov
- mvn cobertura:cobertura coveralls:report
- echo "<settings><servers><server><id>ossrh</id><username>\${env.OSSRH_USER}</username><password>\${env.OSSRH_PASS}</password></server></servers></settings>"
> ~/settings.xml
- if [ -z ${TRAVIS_TAG} ]; then mvn deploy --settings ~/settings.xml; fi
addons:
coverity_scan:
project:
name: "sachin-handiekar/jInstagram"
description: "Build submitted via Travis CI"
notification_email: sachin.handiekar@gmail.com
build_command_prepend: "mvn clean"
build_command: "mvn -DskipTests=true compile"
branch_pattern: master
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/ce6869e746cdba7bdee0
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always