Skip to content

BuildFix: change Travis build to handle conda changes #102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,24 @@ before_install:
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda install --yes python=$TRAVIS_PYTHON_VERSION conda-build pip coverage
# conda-build must be installed in the conda root environment
- conda install conda-build
# TODO: point at conda.anaconda.org?
- conda config --add channels http://conda.binstar.org/cwrowley
- conda info -a
- conda create -q -n test-environment python="$TRAVIS_PYTHON_VERSION" pip coverage slycot
- source activate test-environment
# coveralls not in conda repos
- pip install coveralls

# Install packages
install:
- conda install slycot
- conda build conda-recipe
- conda build --python "$TRAVIS_PYTHON_VERSION" conda-recipe
- conda install control --use-local
- pip install coveralls

# command to run tests
script:
- coverage run setup.py test

after_success:
- coveralls