Skip to content

Commit a5a9db5

Browse files
committed
enable coveralls
1 parent 9aef3ff commit a5a9db5

File tree

5 files changed

+38
-14
lines changed

5 files changed

+38
-14
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ python:
1818
- 3.6
1919

2020
install:
21-
- pip install -U tox-travis
22-
- pip install -U pip setuptools setuptools_scm wheel
23-
- pip install -U nose -rrequirements.txt
21+
- pip install -U tox-travis coveralls pip setuptools wheel
22+
- pip install -r requirements_dev.txt
2423
- python setup.py build_ext --inplace
2524

2625
script:
2726
- tox
27+
28+
after_success:
29+
- coveralls

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ codecs for use in data storage and communication applications.
1212

1313
.. image:: https://ci.appveyor.com/api/projects/status/r35av34952d9fcyn?svg=true
1414
:target: https://ci.appveyor.com/project/alimanfoo/numcodecs
15+
16+
.. image:: https://coveralls.io/repos/github/alimanfoo/numcodecs/badge.svg?branch=master
17+
:target: https://coveralls.io/github/alimanfoo/numcodecs?branch=master

requirements_dev.txt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# pinned dependencies for the development and CI environment
2+
appdirs
3+
args==0.1.0
4+
clint==0.5.1
5+
coverage==4.3.4
6+
Cython==0.25.2
7+
fasteners==0.14.1
8+
flake8==3.3.0
9+
mccabe==0.6.1
10+
monotonic==1.2
11+
msgpack-python==0.4.8
12+
nose==1.3.7
13+
numpy==1.12.0
14+
packaging
15+
pkginfo==1.4.1
16+
pluggy==0.4.0
17+
py==1.4.32
18+
pycodestyle==2.3.1
19+
pyflakes==1.5.0
20+
pyparsing==2.1.10
21+
requests==2.13.0
22+
requests-toolbelt==0.7.1
23+
setuptools-scm==1.15.0
24+
six
25+
tox==2.6.0
26+
twine==1.8.1
27+
virtualenv==15.1.0

requirements_test.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ setenv =
1212
commands =
1313
py27: pip install -U backports.lzma
1414
python setup.py build_ext --inplace
15-
py27,py34,py35: nosetests -v numcodecs
15+
py27,py34,py35: nosetests -v numcodecs --with-coverage --cover-erase --cover-package=numcodecs
1616
py36: nosetests -v --with-coverage --cover-erase --cover-package=numcodecs --with-doctest --doctest-options=+NORMALIZE_WHITESPACE numcodecs
1717
py36: flake8 --max-line-length=100 numcodecs
1818
python setup.py bdist_wheel
19+
coverage report -m
1920
deps =
20-
-rrequirements_test.txt
21-
-rrequirements.txt
21+
-rrequirements_dev.txt
2222

2323
[testenv:docs]
2424
basepython = python2.7

0 commit comments

Comments
 (0)