[ci] fix script

This commit is contained in:
Andreas Dangel
2017-10-08 09:54:02 +02:00
parent f13ba86f9c
commit 5279901a03

View File

@ -20,7 +20,7 @@ function travis_isPullRequest() {
}
function travis_isPush() {
if [ "${TRAVIS_REPO_SLUG}" = "pmd/pmd" && "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_SECURE_ENV_VARS}" = "true" ]; then
if [ "${TRAVIS_REPO_SLUG}" = "pmd/pmd" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_SECURE_ENV_VARS}" = "true" ]; then
return 0
else
return 1