-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
29 lines (29 loc) · 972 Bytes
/
.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
version: "~> 1.0"
git:
depth: 1
quiet: true
language: java
jdk:
- openjdk21
branches:
only:
- develop
- support/4.1.x
- support/4.0.x
- master
cache:
directories:
- "$HOME/.m2"
notifications:
slack: craftersoftware:7YiSb41ZG5rfMgiAY7Qgprc7
before_install:
- mkdir -p $HOME/.m2
- cp .travis-settings.xml $HOME/.m2/settings.xml
install: skip
script:
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then bash -c "mvn deploy --settings .travis-settings.xml"; fi
- if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then bash -c "mvn clean install"; fi
env:
global:
- secure: "ec2ITj0TM+iMqKZKQJrNwD1WzB0E42jwjaWKJu48ZgrC4wmxMjwGH5mlrsed2hRIspRGPyaNf143eVOgOS7qmd+b154mWgHdV4+ouotSUpVDwhCfJjXB1rLXt8TQiAo+aXIWuc3QkSIHNBAU5lP3zkI/OGSh9XEQokXuBD8GTaw="
- secure: "OU3vQd+wQ6sIaORTew2MTEFaAr+NjXhIRaBsBK1cgEPebdHVE28BW5R7mLnRw8pyxJPgagQ+w1ViVe3o9NGYFLjBjniple5W52eCZqb+AP2lcw2jcrMqzs4ahC0/srTWrhqzsVMFfT/+Qne3oG9oeNfLAEiy5SvvGcD3nVs5nAw="