forked from twilio/twilio-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (41 loc) · 1.07 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
40
41
language: java
sudo: false
cache:
directories:
- "$HOME/.m2"
before_install:
- echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE --import --batch || true
- echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust --batch
|| true
matrix:
include:
- jdk: openjdk8
dist: xenial
- jdk: openjdk11
dist: xenial
services:
- docker
install:
- mvn --settings .maven.xml install -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true
-B -V
deploy:
- provider: script
script: make docker-build && make docker-push
skip_cleanup: true
on:
tags: true
jdk: openjdk8
- provider: script
script: mvn clean deploy --settings .maven.xml -DskipTests=true -B -U -Prelease
skip_cleanup: true
on:
tags: true
jdk: openjdk8
notifications:
slack:
if: branch = main
on_pull_requests: false
on_success: never
on_failure: change
rooms:
secure: KuB/X99sXNgD6QfN4ssygi26UZd7O8BzvnAf1uL7Nm8N/6eQYc3TZ7CzXAxO0T5+5U2c+tsqLJeX6ar9C2taJaMk2JysbF2W1fV1mNy3QJ0ccGtJTWmVkqJ9A+vVJPBliKixsk4TC4PoXE5KEkY6wM0mlRa5UhOcyRtF4pMLQ+w=