CI: only push artifacts on OpenSC/OpenSC
This commit is contained in:
parent
159821497c
commit
9092782f94
|
@ -203,7 +203,7 @@ after_script:
|
|||
fi
|
||||
|
||||
# keep in sync with appveyor.yml
|
||||
- if [ "${DO_PUSH_ARTIFACT}" = "yes" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then
|
||||
- if [ "${DO_PUSH_ARTIFACT}" = "yes" -a "$TRAVIS_PULL_REQUEST" = "false" -a "$TRAVIS_REPO_SLUG" = "OpenSC/OpenSC" ]; then
|
||||
git config --global user.email "builds@travis-ci.org";
|
||||
git config --global user.name "Travis CI";
|
||||
.github/push_artifacts.sh "Travis CI build ${TRAVIS_JOB_NUMBER}";
|
||||
|
|
|
@ -111,7 +111,7 @@ deploy_script:
|
|||
# keep in sync with .travis.yml
|
||||
- bash -c "git config --global user.email 'no-reply@appveyor.com'"
|
||||
- bash -c "git config --global user.name 'AppVeyor'"
|
||||
- bash -c "if [ \"$DO_PUSH_ARTIFACT\" = yes -a -z \"$APPVEYOR_PULL_REQUEST_NUMBER\" ]; then .github/push_artifacts.sh \"AppVeyor build ${APPVEYOR_BUILD_NUMBER}.${APPVEYOR_JOB_NUMBER}\"; fi"
|
||||
- bash -c "if [ \"$DO_PUSH_ARTIFACT\" = yes -a -z \"$APPVEYOR_PULL_REQUEST_NUMBER\" -a \"$APPVEYOR_REPO_NAME\" = \"OpenSC/OpenSC\" ]; then .github/push_artifacts.sh \"AppVeyor build ${APPVEYOR_BUILD_NUMBER}.${APPVEYOR_JOB_NUMBER}\"; fi"
|
||||
|
||||
cache:
|
||||
- C:\zlib -> appveyor.yml
|
||||
|
|
Loading…
Reference in New Issue