From c0d95ab54dd71692ee6d8190a3540466cf9125b0 Mon Sep 17 00:00:00 2001 From: Chris Tomkins-Tinch Date: Tue, 7 Mar 2017 19:17:42 -0500 Subject: [PATCH] explicit conda channels in conda build command (#617) * explicitly set conda channels for travis * explicitly add channels to conda build --- travis/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/travis/deploy.sh b/travis/deploy.sh index 26f268764..5db9358fd 100755 --- a/travis/deploy.sh +++ b/travis/deploy.sh @@ -42,7 +42,7 @@ 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 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 --python "$TRAVIS_PYTHON_VERSION" --token "$ANACONDA_TOKEN" packaging/conda-recipe/viral-ngs && \ + 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 # check the exit code of conda build, and if successful, # trigger the viral-ngs-deploy repository to test/build the docker container