Skip to content

Commit

Permalink
set conda config --set anaconda_upload yes in deploy script (#618)
Browse files Browse the repository at this point in the history
* explicitly set conda channels for travis

* explicitly add channels to conda build

* set conda upload 'yes' in deploy script
  • Loading branch information
tomkinsc authored Mar 8, 2017
1 parent c0d95ab commit 291131e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions travis/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ echo "Python version: $(python --version)"
if [ ! -z "$ANACONDA_TOKEN" ]; then
echo "Running $SCRIPTPATH/package-conda.sh"
# Render recipe from template and dependency files, setting the tag as the current version
conda config --set anaconda_upload yes
python packaging/conda-recipe/render-recipe.py "$PKG_VERSION" --build-reqs requirements-conda.txt --run-reqs requirements-conda.txt --py3-run-reqs requirements-py3.txt --py2-run-reqs requirements-py2.txt && \
conda build -c broad-viral -c r -c bioconda -c conda-forge -c defaults --python "$TRAVIS_PYTHON_VERSION" --token "$ANACONDA_TOKEN" packaging/conda-recipe/viral-ngs && \
./travis/trigger-tests-in-other-repo.sh
Expand Down

0 comments on commit 291131e

Please sign in to comment.