From b2c000e982a482582f43a1bb05d2c57ea5dd4df3 Mon Sep 17 00:00:00 2001 From: Yann Sionneau Date: Wed, 9 Sep 2015 17:09:24 +0200 Subject: [PATCH] travis: only upload package when not building a pull request --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2