From: Yann Sionneau Date: Wed, 9 Sep 2015 15:09:24 +0000 (+0200) Subject: travis: only upload package when not building a pull request X-Git-Tag: 24jan2021_ls180~2099^2~21 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b2c000e982a482582f43a1bb05d2c57ea5dd4df3;p=litex.git travis: only upload package when not building a pull request --- diff --git a/.travis.yml b/.travis.yml index ea62f9dc..39965573 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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