From ecd04cf68cc865cd1b0d537d71c17d562ea9b6b5 Mon Sep 17 00:00:00 2001 From: whitequark Date: Wed, 21 Oct 2015 20:08:16 +0300 Subject: [PATCH] travis: upload noarch conda package correctly. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2