forked from phoedos/pmd
[ci] fix script
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user