travis: do not upload conda package if branch is not master. fixes #55

This commit is contained in:
Yann Sionneau 2015-08-21 18:47:00 +02:00
parent 7f613d17d1
commit c9236870bd
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ script:
- make -C doc/manual html
after_success:
- anaconda -q login --hostname $(hostname) --username $binstar_login --password $binstar_password
- anaconda -q upload --user $binstar_login --channel dev --force $HOME/miniconda/conda-bld/linux-64/artiq-*.tar.bz2
- if [ "$TRAVIS_BRANCH" == "master" ]; then anaconda -q upload --user $binstar_login --channel dev --force $HOME/miniconda/conda-bld/linux-64/artiq-*.tar.bz2; fi
- anaconda -q logout
- coveralls
notifications: