-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy path.travis.yml
26 lines (26 loc) · 1.9 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
language: java
jdk:
- oraclejdk8
dist: trusty
install: true
stages:
- name: build
- name: publish-snapshot
if: branch = master AND type IN (push)
- name: publish-release
if: branch =~ ^release\/.*$ AND type IN (push)
jobs:
include:
- stage: build
script: mvn -f source/pom.xml install
- stage: publish-snapshot
script: mvn --settings .travis.settings.xml -f source/pom.xml install
- stage: publish-release
script: mvn --settings .travis.settings.xml -f source/pom.xml deploy
cache:
directories:
- "$HOME/.m2"
env:
global:
- secure: Zmo9IfZWUz1xEoR0YibfgDAYWmjLhhC/dS3D7yAx7gwQBoOiV45rShFGw1L8WP2hWM/4xF4Gurbo9TaMjoTWAT0D4HFUZX9vGVLJjW596CVhs3P5DvDmBJB242EVirXcn0qXxtjbWEWWluGgJgug6SWc7zRL+dSEoonB4sxxdqAgWwCYw6ER4mUcKvQtBR07tqfzbYHMEI+F8NocvhPHp2OMwyjf04j1nwbyqX8JNyVfCgUuwEadovJ+HDa+T/y8LNA4wjXK5htcAD0sbe6Rh2F1yyp2JyUCJVy458qOhxvz16FgB7qn1IilPhUvcZy+qQTZT3lbMempbZxOuYZiR2YVjpzDxCItCsJAqiRqBRPsQTYGJl8h+XjKJ0Sl8nYVcV0Q3GEcSNv0N3ENJGOfu0wzFwNU5IXosGrp5m8gja9YiB3hWKNzjdjwuZNDTdu/y7U2xCcupWF0jY2NXSvPoXPnODZtcFRe/wVguwGbIrNIWo8xHmi/VPD+b79DCfSkh/IPEF1NxjjYTsWwtyF9JNhhRXxEeYQhuQ1Wb6IZCIar4Mo1irKW0riLj1QSZ1vyE7f60SPJ+kH1XRX7BSkA66h0DV7Rbv8zZCD1hy/SKLklivdx2lWKlMuF5SbIPqfRVIreY6Pmuwcf6w9V5b9rzWO5btda9gn6CyjWHqtqVT4=
- secure: XUOHsRC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