-
Notifications
You must be signed in to change notification settings - Fork 28
/
.travis.yml
56 lines (49 loc) · 6.01 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
language: java
jdk:
- oraclejdk8
dist: trusty
env:
global:
- # OSSRH_JIRA_USERNAME
- secure: "cVP8mjrXOFI5QetZqLHVlwcoO5CycDhsImiWm1a0/XkZvPqeku+Ayk2gO0+jno3Zjv/EAoLvwHtthvt00jVilBWh9xj+0g+2cMU/6RzvhYXltusD1t6Oaj7ZU9EWEEupUHm8doaETSO9Dr4ZXs7n175e2r3nOMI95rhEbHgfkpDnQsVIn2IILxaV/sl9l3EynXqB9JWGzhF6XherDq0p9UuRarzHDfrWjD4q4RjpNO7lJ84Qgv2xu02VZPbOcjsMdrgbb1yqP9nKwtp3thDTdjBIYLAN0PcVefgwx1afyr23ujTeNZZBywPJ+tmdAgUvFrArLBKiS0YLjK6wFm/OTeZEdIkWNkyr+PhWS1gyNeq2xAobsEZnESaRjFiWxMQE0VmpmI4192PYrzh2VRTBEGhHTlq3VKqW7exo0YccCyzFPG1V1WbEEAZkZIw35/NDvnJVafzOFR9Chcf+Wn+iwjyL2Lj23AFSLMCsan600OQl3JRF6oIJ78iwziApJF/zX0VKrV9eO7XuBOODSKEn23UbMESq6/19BbfNmh3ZMe5LU6YqN1yYp2wwFbISl+aW8Sqgt34XJ/pZ/D9VbmcdlWtOfi3v9U/4ZRZDCdGu2r9O6/2pNLOEFFF/V675g1hLBB4KgMgJF7Mj/Wd8v5mMrcZsacDpGtwDp2crDGf49Yc="
- # OSSRH_JIRA_PASSWORD
- secure: "lo59ubGUUx8WsG4iWXuiez48YiMhk05XUTwYwLH0nxKIGbmbFEhfyIoSuMoHALZs45AHXBm/0HLTRumzz+zpkHFgyxmCkO3clttF24MnjtAcPZrIIhz9CO/fPiwGxa3o3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0pmXta6QLIr6Ge74qn686bc3jGwrOxWNSB8Khn+oCeltKHmZ2q+aEn3wmjCjaZz459qcROjGhuZ//H/4Z4N3Vh0eqN2GMtU5feDJEPdmQRpEhrjMvj+KJEV6Y17c0m/xvvHmPOZRes="
- # PEM_ENCRYPTION_PASSWORD
- secure: "fJOACH7u3KIN+ADdbXbyaucFePAH1S+G0/CZEN6GYBNyGgaspJFBk+JPyuBzSqdA6/Y5i1mFkT2tOVYZVJnYEXCuwpJwcmjXLhgze/Ie8QPHo3Io26TlBFvPoQ4yT3Y7yiIXb5diDz4dm+p9ELwZaX9ctZmKOrtF85/KPWzMTRvTrnk5fwJS5qcK+IY2xIEGGBWqgDR1Tdkzye8hv0E/h4vZEuDsV18dEMJWpOCGxHUwV3OH9tS7OXgqBgJvNCixQ3547U8/dGfKmMYPPkddCdWsBHm1FhI5Tslde1RD/0rQ6uhcCk6vXahVEQaTonNEhtt3kVCaT9x76YRONTMqdXIY13bSbvyFAfMDt0cNsd6NkCY3dg8uoXwPDDR1u5A4hu7yJltxhokR5ovU6ooscgyJVRDzmHsiNT4whvjoZv76GX3O2uxD2rpZB/4ccrt4xT8EXN3bu+yoQPWPThDUoaDpCc1a6M5Rhjy08rrWLHbtcuYv5mFL2PYAZbUiw2sk5fuT5XSthv6bO3pXyZY5Lx8+w7kHLA9c4HWUpxS5YKDm5mA4mxEBhPjKDRrQ/daxkjXiDE0IgqknICDWfeaZ/3B6EfGBz0xDwjliGTwhZRX1brX3N8TnoD33RS2fI+rwO+XY7knM4eweNQBoMxVUnW2QfRiO7r0YLJJIwjAaQPo="
# safelist
branches:
only:
- master
install:
- mvn install -P !build-extras -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- export TRAVIS_COMMIT_DESCRIPTION=`git log -n 1`
jobs:
include:
- stage: test
script:
- mvn test -P !build-extras -B || travis_terminate 1;
- stage: deploy
script:
# The below should be placed in the after_success stage but due to the nature on how travis deals with after_script
# exit codes different than 0 would not affect the build result which is not the expectation in this case.
# Set up git user name and tag this commit
- chmod +x ./travis-ci/before-deploy.sh ./travis-ci/deploy.sh ./travis-ci/cleanup.sh || travis_terminate 1;
- ./travis-ci/before-deploy.sh;
- ./travis-ci/deploy.sh;
- ./travis-ci/cleanup.sh;
stages:
- name: test
if: type = pull_request OR (type = push AND branch = master)
- name: deploy
if: type = push AND branch = master
cache:
directories:
- ~/.m2/repository