From: whitequark Date: Wed, 21 Oct 2015 17:08:16 +0000 (+0300) Subject: travis: upload noarch conda package correctly. X-Git-Tag: 24jan2021_ls180~2099^2~3^2~5^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ecd04cf68cc865cd1b0d537d71c17d562ea9b6b5;p=litex.git travis: upload noarch conda package correctly. --- diff --git a/.travis.yml b/.travis.yml index 6c4bea70..315850e3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,8 +39,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/noarch/migen-*.tar.bz2; fi notifications: email: false