forked from craftercms/commons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
22 lines (22 loc) · 937 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
language: java
sudo: false
jdk:
- oraclejdk8
branches:
except:
- travis
notifications:
irc:
channels:
- "chat.freenode.net#craftercms"
use_notice: true
skip_join: true
slack: craftersoftware:7YiSb41ZG5rfMgiAY7Qgprc7
env:
global:
- secure: YZzNy4zK2Yj+YyooEAVc/I1EA36UUS6oYS1eLG6CyY4fbhwklAvrgTUBZva2jpmafnoW2KFoxwINKqvMGBLGoI/4PxtYwMk+PsxXt7Xt1Rb4FdntMV+H7vqIrKbkFZSvkicB0y6mWDc8BPUtMkigPT/syLgAkR8FzYu658czDUc=
- secure: PWioVvBVkbi/9JkGDem5/0dMo/gyzfi1/BNgoUKOKgMZxP2hy1AdBQEuK763eN59Zqj/m41Lwjxz1AqsCdgIOMYMUR+aHsisfMRko1Fh4mbgdtGMIHcvnf18HbsnYwXdIbInrcgOZPKZWTW8iQAYiwzemSlD61xNcYnwL6Qdo2U=
before_install: "git clone -b travis `git config --get remote.origin.url` target/travis"
script:
- 'if [[ "$TRAVIS_PULL_REQUEST" = "false" ]]; then bash -c "mvn deploy --settings target/travis/settings.xml"; fi'
- 'if [[ "$TRAVIS_PULL_REQUEST" = "false" ]]; then bash -c "mvn clean install" ;fi'