travis: only upload package when not building a pull request

This commit is contained in:
Yann Sionneau 2015-09-09 17:09:24 +02:00
parent 94a2499ce5
commit b2c000e982
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@ script:
after_success:
# Upload Migen conda package to binstar
- anaconda login --hostname $(hostname) --username $binstar_login --password $binstar_password
- anaconda upload --user $binstar_login --channel dev --force $HOME/miniconda/conda-bld/linux-64/migen-*.tar.bz2
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then anaconda login --hostname $(hostname) --username $binstar_login --password $binstar_password; fi
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then anaconda upload --user $binstar_login --channel dev --force $HOME/miniconda/conda-bld/linux-64/migen-*.tar.bz2; fi
notifications:
email: false