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
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ python:
- 3.6

install:
- pip install -U tox-travis
- pip install -U pip setuptools setuptools_scm wheel
- pip install -U nose -rrequirements.txt
- pip install -U tox-travis coveralls pip setuptools wheel
- pip install -r requirements_dev.txt
- python setup.py build_ext --inplace

script:
- tox

after_success:
- coveralls
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ codecs for use in data storage and communication applications.

.. image:: https://ci.appveyor.com/api/projects/status/r35av34952d9fcyn?svg=true
:target: https://ci.appveyor.com/project/alimanfoo/numcodecs

.. image:: https://coveralls.io/repos/github/alimanfoo/numcodecs/badge.svg?branch=master
:target: https://coveralls.io/github/alimanfoo/numcodecs?branch=master
6 changes: 2 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,8 @@ install:
build: off

test_script:
- "%CMD_IN_ENV% python -m pip install -U pip"
- "%CMD_IN_ENV% python -m pip install -U setuptools wheel"
- "%CMD_IN_ENV% python -m pip install -rrequirements_test.txt"
- "%CMD_IN_ENV% python -m pip install -rrequirements.txt"
- "%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 nose -v"

Expand Down
8 changes: 1 addition & 7 deletions numcodecs/tests/test_msgpacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,9 @@
from __future__ import absolute_import, print_function, division


import nose
import numpy as np
from numpy.testing import assert_raises

try:
from numcodecs.msgpacks import MsgPack
except ImportError:
raise nose.SkipTest("no msgpack installed")

from numcodecs.msgpacks import MsgPack
from numcodecs.tests.common import (check_config, check_repr,
check_encode_decode_objects)

Expand Down
27 changes: 27 additions & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# pinned dependencies for the development and CI environment
appdirs
args==0.1.0
clint==0.5.1
coverage==4.3.4
Cython==0.25.2
fasteners==0.14.1
flake8==3.3.0
mccabe==0.6.1
monotonic==1.2
msgpack-python==0.4.8
nose==1.3.7
numpy==1.12.0
packaging
pkginfo==1.4.1
pluggy==0.4.0
py==1.4.32
pycodestyle==2.3.1
pyflakes==1.5.0
pyparsing==2.1.10
requests==2.13.0
requests-toolbelt==0.7.1
setuptools-scm==1.15.0
six
tox==2.6.0
twine==1.8.1
virtualenv==15.1.0
8 changes: 0 additions & 8 deletions requirements_test.txt

This file was deleted.

6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ setenv =
commands =
py27: pip install -U backports.lzma
python setup.py build_ext --inplace
py27,py34,py35: nosetests -v numcodecs
py27,py34,py35: nosetests -v numcodecs --with-coverage --cover-erase --cover-package=numcodecs
py36: nosetests -v --with-coverage --cover-erase --cover-package=numcodecs --with-doctest --doctest-options=+NORMALIZE_WHITESPACE numcodecs
py36: flake8 --max-line-length=100 numcodecs
python setup.py bdist_wheel
coverage report -m
deps =
-rrequirements_test.txt
-rrequirements.txt
-rrequirements_dev.txt

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