From db4cf356a2c948e4ed47d7e913248ce632e3f25b Mon Sep 17 00:00:00 2001 From: John Kirkham Date: Mon, 19 Feb 2018 23:26:13 -0500 Subject: [PATCH] Keep the `pinned` file for `conda` on CIs In case we find ourselves needing to pinning things in the `conda` testing environment in the future, keep the `pinned` files around on CI even though they are currently empty. --- .travis.yml | 1 + .wercker.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index edcffb8e..180af209 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,6 +47,7 @@ install: - python setup.py bdist_conda # Setup environment for nanshe and install it with all dependencies. - conda create --use-local -n testenv python=$PYTHON_VERSION nanshe==$VERSION + - touch $HOME/miniconda/envs/testenv/conda-meta/pinned - conda update --use-local -n testenv --all - conda install --use-local -n testenv nanshe==$VERSION - source activate testenv diff --git a/.wercker.yml b/.wercker.yml index f55fce8b..dad2da3b 100644 --- a/.wercker.yml +++ b/.wercker.yml @@ -24,6 +24,7 @@ build: conda create -y --use-local -n testenv nanshe==$(python setup.py --version) source activate testenv conda clean -tipsy + touch /opt/conda/envs/testenv/conda-meta/pinned - script: name: Install dependencies for cluster support.