forked from craftercms/studio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
21 lines (21 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
language: java
jdk:
- oraclejdk8
branches:
except:
- travis
notifications:
irc:
channels:
- "chat.freenode.net#craftercms"
use_notice: true
skip_join: true
slack: craftersoftware:7YiSb41ZG5rfMgiAY7Qgprc7
env:
global:
- secure: "YpUgY93eZl4NyJYiQo9oHtHDRZbfZx136xDNTZTWpWiEoPIHLUQ13+XQli4Vb8fVMIt3Eh33+1QCMRzz1SRlCTdswY9E0xohRkWqzASxmhr2Xf8OqT77yVrMwVZIZeo98c30FLHIDOGnSap6rP7q+nPVM58uEEne5KqvsjxwIt8="
- secure: "H2upEjfkENN/hmkhPujqSuI0hfshUAcRDkG5U5mg2URWLWSbz3FE90fltsrALMdChSuCxaoQNJeOSqxQzuX2G104YKNx0xrOMsWY+4sMM0rceb4nkB4WAoJmrSQn7Wel4A35QzsfH0JnZ3S+hzMaPYT0fR079hW9FO7LVdYxeZU="
before_install: "git clone -b travis `git config --get remote.origin.url` target/travis"
script:
- 'if [[ "$TRAVIS_PULL_REQUEST" = "false" ]]; then bash -c "mvn clean deploy --settings target/travis/settings.xml"; fi'
- 'if [[ "$TRAVIS_PULL_REQUEST" = "false" ]]; then bash -c "mvn clean install" ;fi'