From 291131e66e88f88200cb431fe49342ab9567f0e0 Mon Sep 17 00:00:00 2001 From: Chris Tomkins-Tinch Date: Tue, 7 Mar 2017 20:02:38 -0500 Subject: [PATCH] set conda config --set anaconda_upload yes in deploy script (#618) * explicitly set conda channels for travis * explicitly add channels to conda build * set conda upload 'yes' in deploy script --- travis/deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/travis/deploy.sh b/travis/deploy.sh index 5db9358fd..45777831a 100755 --- a/travis/deploy.sh +++ b/travis/deploy.sh @@ -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