Only deploy snapshot from master

This commit is contained in:
Travis Burtrum 2019-06-26 23:41:37 -04:00
parent ab766425c2
commit 9fd06f7a77
1 changed files with 1 additions and 1 deletions

View File

@ -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