Skip to content

Test NumPy 1.12 and latest in both Travis and tox #79

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

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
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: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ sudo: False

language: python

matrix:
include:
- python: 2.7
- python: 3.6
python:
- 2.7
- 3.6

env:
- NUMPY=1.12
- NUMPY=*

install:
# Install conda
Expand All @@ -16,7 +19,7 @@ install:
- conda update conda

# Install dependencies
- conda create -n test-sparse python=$TRAVIS_PYTHON_VERSION pytest numpy scipy flake8 nomkl
- conda create -n test-sparse python=$TRAVIS_PYTHON_VERSION pytest numpy=$NUMPY scipy flake8 nomkl
- source activate test-sparse

- pip install -e .[tests]
Expand Down
8 changes: 7 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
[tox]
envlist = py27,py36
envlist = {py27,py36}-{numpy12,numpylatest}
[testenv]
deps =
numpy12: numpy==1.12.0
basepython =
py27: python2.7
py36: python3.6
commands=
pip list
py.test {posargs}
extras=
docs
Expand Down