Skip to content

Commit 7cf9139

Browse files
committed
DEV: avoid buggy conda-build 3.0.3.
conda-build 3.0.3 removes its test environment even when asked not to. Solution: Use earlier version of conda-build.
1 parent e70208e commit 7cf9139

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ before_install:
6262
- $NOMC || test -x ~/mc/bin/conda || bash ${MYMCBUNDLE} -b -f -p ~/mc
6363
- $NOMC || popd
6464
- $NOMC || source ~/mc/bin/activate root
65+
66+
# Avoid failure due to bad handling of --dirty in conda-build 3.0.3.
67+
# see https://github.com/conda/conda-build/issues/2166.
68+
- $NOMC || echo 'conda-build <3' | tee ~/mc/conda-meta/pinned
69+
6570
- $NOMC || conda update --yes conda
6671
- $NOMC || conda install --yes conda-build jinja2
6772
- $NOMC || conda create --name=testenv --yes python=${MYPYTHON_VERSION} coverage

0 commit comments

Comments
 (0)