Only deploy snapshot from master
This commit is contained in:
parent
ab766425c2
commit
9fd06f7a77
@ -31,7 +31,7 @@ matrix:
|
||||
before_install: wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh
|
||||
|
||||
after_success:
|
||||
- if [[ "${JDK}" == 'OpenJDK 8' ]]; then
|
||||
- if [[ "${JDK}" == 'OpenJDK 8' && "${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}" == 'master' ]]; then
|
||||
mvn deploy --settings .travis-settings.xml -Dmaven.test.skip=true -B || travis_terminate 1;
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user