Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ matrix:

install:
- pip install -U tox-travis coveralls pip setuptools wheel
- pip install -r requirements_dev.txt
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not actually needed as installation is handled within tox.

- python setup.py build_ext --inplace
- pip freeze

script:
- tox
Expand Down
8 changes: 5 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,15 @@ environment:
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- git submodule update --init --recursive
- "%CMD_IN_ENV% python -m pip install -U pip setuptools wheel"
- "%CMD_IN_ENV% python -m pip install -rrequirements_dev.txt"
- "%CMD_IN_ENV% python -m pip install -rrequirements_test.txt"
- "%CMD_IN_ENV% python setup.py build_ext --inplace"
- "%CMD_IN_ENV% python -m pip freeze"

build: off

test_script:
- "%CMD_IN_ENV% python -m pip install -U pip setuptools wheel"
- "%CMD_IN_ENV% python -m pip install -rrequirements_dev.txt"
- "%CMD_IN_ENV% python setup.py build_ext --inplace"
- "%CMD_IN_ENV% python -m pytest -v numcodecs"

after_test:
Expand Down
4 changes: 3 additions & 1 deletion numcodecs/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@


from numcodecs.compat import buffer_tobytes, ndarray_from_buffer
from numcodecs import * # flake8: noqa
from numcodecs.registry import get_codec
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think this might be related to the CI failure. Not sure though.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, my bad. Should be fixed now.

# star import needed for repr tests so eval finds names
from numcodecs import * # noqa


greetings = [u'¡Hola mundo!', u'Hej Världen!', u'Servus Woid!', u'Hei maailma!',
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cython
numpy
msgpack
pytest
33 changes: 1 addition & 32 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,34 +1,3 @@
appdirs==1.4.3
args==0.1.0
certifi==2017.7.27.1
chardet==3.0.4
clint==0.5.1
coverage==4.4.1
coveralls==1.2.0
Cython==0.29
docopt==0.6.2
fasteners==0.14.1
flake8==3.5.0
idna==2.6
mccabe==0.6.1
monotonic==1.3
msgpack==0.5.6
numpy==1.15.3
packaging==16.8
pkginfo==1.4.1
pluggy==0.5.2
py==1.4.34
pycodestyle==2.3.1
pyflakes==1.6.0
pyparsing==2.2.0
pytest==3.2.3
pytest-cov==2.5.1
requests==2.18.4
requests-toolbelt==0.8.0
setuptools-scm==1.15.6
tox==2.9.1
tox-travis==0.8
tqdm==4.19.4
twine==1.9.1
urllib3==1.22
virtualenv==15.1.0
numpy==1.15.4
8 changes: 8 additions & 0 deletions requirements_test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
coverage
coveralls
flake8
pytest
pytest-cov
setuptools
setuptools-scm
tox
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ commands =
deps =
py27: backports.lzma
-rrequirements_dev.txt
-rrequirements_test.txt

[testenv:docs]
basepython = python2.7
Expand Down