travis: install the package that was just built.
authorwhitequark <whitequark@whitequark.org>
Wed, 21 Oct 2015 17:01:46 +0000 (20:01 +0300)
committerwhitequark <whitequark@whitequark.org>
Wed, 21 Oct 2015 17:01:46 +0000 (20:01 +0300)
Otherwise, conda will select a newer remote version if available,
even with --use-local.

.travis.yml

index d28150eff6bc1e54a51ae5545dc2a288496c3224..96db4aba62d17c85f23c71c1d6acf08326eea1ae 100644 (file)
@@ -29,7 +29,7 @@ install:
   - "mkdir -p /home/travis/miniconda/conda-bld/linux-64"
   - "conda index /home/travis/miniconda/conda-bld/linux-64"
   - "conda build --python 3.5 conda/migen"
-  - "conda install migen --use-local"
+  - "conda install $(conda build --output --python 3.5 conda/migen)"
 
 script:
   # Run tests