Skip to content

Commit f87bfa9

Browse files
committed
test different npy under py36 not py37
1 parent 887846f commit f87bfa9

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

tox.ini

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py27, py35, py36, py37-npy{113,114,115}, docs
7+
# N.B., test different versions of numpy under py36 rather than py37
8+
# because wheels for npy113 not available for py37
9+
envlist = py27, py35, py36-npy{113,114,115}, py37, docs
810

911
[testenv]
1012
install_command = pip install --no-binary=numcodecs {opts} {packages}
@@ -18,21 +20,21 @@ commands =
1820
python -c 'import glob; import shutil; import os; [(shutil.rmtree(d) if os.path.isdir(d) else os.remove(d) if os.path.isfile(d) else None) for d in glob.glob("./example*")]'
1921
# main unit test runner
2022
# N.B., don't run npy113 or npy114 with coverage because it is run together npy115 on travis
21-
py27,py35,py36: pytest -v --cov=zarr --cov-config=.coveragerc zarr
22-
py37-npy113: pytest -v zarr
23-
py37-npy114: pytest -v zarr
24-
py37-npy115: pytest -v --cov=zarr --cov-config=.coveragerc --doctest-modules zarr
23+
py27,py35,py36-npy115: pytest -v --cov=zarr --cov-config=.coveragerc zarr
24+
py36-npy113: pytest -v zarr
25+
py36-npy114: pytest -v zarr
26+
py37: pytest -v --cov=zarr --cov-config=.coveragerc --doctest-modules zarr
2527
# generate a coverate report
26-
py27,py35,py36,py37-npy115: coverage report -m
28+
py27,py35,py36-npy115,py37: coverage report -m
2729
# run doctests in the tutorial and spec
28-
py37-npy115: python -m doctest -o NORMALIZE_WHITESPACE -o ELLIPSIS docs/tutorial.rst docs/spec/v2.rst
30+
py37: python -m doctest -o NORMALIZE_WHITESPACE -o ELLIPSIS docs/tutorial.rst docs/spec/v2.rst
2931
# pep8 checks
30-
py37-npy115: flake8 --max-line-length=100 zarr
32+
py37: flake8 --max-line-length=100 zarr
3133
deps =
3234
py27: backports.lzma
33-
py37-npy113: numpy==1.13.3
34-
py37-npy114: numpy==1.14.6
35-
py27,py35,py36,py37-npy115: numpy==1.15.2
35+
py36-npy113: numpy==1.13.3
36+
py36-npy114: numpy==1.14.6
37+
py27,py35,py36-npy115,py37: numpy==1.15.2
3638
-rrequirements_dev.txt
3739
# linux only
3840
-rrequirements_dev_optional.txt

0 commit comments

Comments
 (0)