deploy only when on master
This commit is contained in:
parent
0ab5b92dc5
commit
0ddfd2d521
|
@ -104,7 +104,7 @@ after_script:
|
|||
fi
|
||||
|
||||
# keep in sync with appveyor.yml
|
||||
- if [ "${DO_PUSH_ARTIFACT}" = "yes" ]; then
|
||||
- if [ "${DO_PUSH_ARTIFACT}" = "yes" -a "$TRAVIS_PULL_REQUEST" = "false" ]; 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}";
|
||||
|
|
|
@ -107,7 +107,7 @@ build_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 ".github/push_artifacts.sh \"AppVeyor build ${APPVEYOR_BUILD_NUMBER}.${APPVEYOR_JOB_NUMBER}\""
|
||||
- bash -c "if [ -z \"$APPVEYOR_PULL_REQUEST_NUMBER\" ]; then .github/push_artifacts.sh \"AppVeyor build ${APPVEYOR_BUILD_NUMBER}.${APPVEYOR_JOB_NUMBER}\"; fi"
|
||||
|
||||
cache:
|
||||
- C:\zlib -> appveyor.yml
|
||||
|
|
Loading…
Reference in New Issue