Skip to content

Commit b2c000e

Browse files
committedSep 9, 2015
travis: only upload package when not building a pull request
1 parent 94a2499 commit b2c000e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ script:
3636

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

4242
notifications:
4343
email: false

0 commit comments

Comments
 (0)