File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -28,19 +28,24 @@ before_install:
28
28
- hash -r
29
29
- conda config --set always_yes yes --set changeps1 no
30
30
- conda update -q conda
31
- - conda install --yes python=$TRAVIS_PYTHON_VERSION conda-build pip coverage
31
+ # conda-build must be installed in the conda root environment
32
+ - conda install conda-build
33
+ # TODO: point at conda.anaconda.org?
32
34
- conda config --add channels http://conda.binstar.org/cwrowley
33
35
- conda info -a
36
+ - conda create -q -n test-environment python="$TRAVIS_PYTHON_VERSION" pip coverage slycot
37
+ - source activate test-environment
38
+ # coveralls not in conda repos
39
+ - pip install coveralls
34
40
35
41
# Install packages
36
42
install :
37
- - conda install slycot
38
- - conda build conda-recipe
43
+ - conda build --python "$TRAVIS_PYTHON_VERSION" conda-recipe
39
44
- conda install control --use-local
40
- - pip install coveralls
41
45
42
46
# command to run tests
43
47
script :
44
48
- coverage run setup.py test
49
+
45
50
after_success :
46
51
- coveralls
You can’t perform that action at this time.
0 commit comments