-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
39 lines (33 loc) · 1.42 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
33
34
35
36
37
38
39
# deploy Maven artifacts to Sonatype OSS repo
language: java
jdk:
- openjdk7
# whitelist
branches:
only:
- master
- es-0.20
# checkout settings
before_install:
- "git clone -b master https://github.com/molindo/travis-settings.git target/travis-settings"
- "target/travis-settings/tasks/before_install.sh"
# install and deploy
install: "target/travis-settings/tasks/install.sh"
script: "target/travis-settings/tasks/script.sh"
# travis encrypt 'token@room'
notifications:
email: false
hipchat:
rooms:
- secure: "nMNTrtz3kGh+pv9N+gfymSUXTyV3r3lBkT/48FIxdnLLDd8Uy2MSmTgva1LeFslczRZtaP9XE/9NpvxVtl2ZDzE1It2B9AeVnD/OKtGH6aotp2jA425PpGpAQXzxh8/QAGT2E2U76lZ+stqel/1sNebtFJy2f5010I3n9XqLkUc="
template:
- '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (<a href="%{build_url}">Details</a>/<a href="%{compare_url}">Change view</a>)'
format: html
on_success: always
on_failure: always
# travis encrypt 'CI_DEPLOY_USERNAME=username'
# travis encrypt 'CI_DEPLOY_PASSWORD=password'
env:
global:
- secure: "hlerLdLIxQX4BPgs6+0vOlPwnyBzfufcLqCXBJVTkAWNAIOY+9zulJEzg9zV0egcXfwKx03QBNQ/N/F+fxjtLYhcsqHQzgrpXAN888CIHCU63lwOhZpKIJ27760+zndIcSU8Z0CTAKYzb21bVA41PwMNYfw4c//KdSLgVevdDIE="
- secure: "Eu9xOsMAWCfj6v05zC62hnB9q9+LKEdgU+mv2MHms/7FEJZtTuH5Nb0BIhOIOZVA1Ftf7DDIWKVFmqnFrsZli89TCsrbfWVlcUjB/fNaEvHbFKDQEcAqxsTUP8bwYqRNxgBFr9hiky+ZJsVnVpDrudW3Uq9EbEirzrOKoFbT2lM="