Skip to content

Commit 4d25599

Browse files
committed
Adjust for conda-build 2.0.
Conda test environment has been renamed from _test to _t_env and has been moved to a temporary directory.
1 parent 0d6121c commit 4d25599

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: .travis.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,10 @@ before_install:
7575
- $NOAPT || popd
7676

7777
install:
78-
- $NOMC || conda build conda-recipe
79-
- $NOMC || conda list --name=_test --export ${MYNAME} > /tmp/mypackage.txt
78+
- $NOMC || conda build --keep-old-work conda-recipe
79+
- $NOMC || MYCONDATESTENV="$(ls -td ~/mc/conda-bld/conda-recipe_*/_t_env | head -1)"
80+
- $NOMC || source activate ${MYCONDATESTENV:?"conda test environment not found"}
81+
- $NOMC || conda list --export ${MYNAME} > /tmp/mypackage.txt
8082
- $NOMC || source activate testenv
8183
- $NOMC || conda install --yes --use-local --file=/tmp/mypackage.txt
8284
- $NOMC || conda install --yes cxxtest scons

0 commit comments

Comments
 (0)