[ci] Only execute deployment provider under linux

Previously it had also been executed under the macosx build,
see https://travis-ci.org/pmd/pmd/jobs/585148459#L6700
This commit is contained in:
Andreas Dangel
2019-10-26 11:39:16 +02:00
parent f343932a4f
commit f10b631d76

View File

@ -61,7 +61,7 @@ deploy:
on:
tags: true
repo: pmd/pmd
condition: "${TRAVIS_SECURE_ENV_VARS} = true && ${BUILD} != sonar && ${BUILD} != coveralls"
condition: "${TRAVIS_SECURE_ENV_VARS} = true && ${BUILD} != sonar && ${BUILD} != coveralls && ${TRAVIS_OS_NAME} = linux"
after_deploy: bash .travis/release.sh
notifications: