Skip to content

Commit cb6fba6

Browse files
authored
Merge pull request #118 from jakirkham/use_coveralls
Use Coveralls
2 parents 17a8a78 + 82a0a19 commit cb6fba6

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ python:
77
- 3.6
88

99
install:
10-
- pip install -U tox-travis pip setuptools wheel
10+
- pip install -U tox-travis coveralls pip setuptools wheel
1111
- pip install -r requirements_dev.txt
1212
- python setup.py build_ext --inplace
1313

1414
script:
1515
- tox
16+
17+
after_success:
18+
- coveralls

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ more information.
1111

1212
.. image:: https://ci.appveyor.com/api/projects/status/7d4iko59k8hpbbik?svg=true
1313
:target: https://ci.appveyor.com/project/alimanfoo/zarr
14+
15+
.. image:: https://coveralls.io/repos/github/alimanfoo/zarr/badge.svg?branch=master
16+
:target: https://coveralls.io/github/alimanfoo/zarr?branch=master

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ setenv =
1111
PYTHONHASHSEED = 42
1212
commands =
1313
python setup.py build_ext --inplace
14-
py27,py34,py35: nosetests -v zarr
15-
py36: nosetests -v --with-coverage --cover-erase --cover-min-percentage=100 --cover-package=zarr --with-doctest --doctest-options=+NORMALIZE_WHITESPACE zarr
14+
py27,py34,py35: nosetests -v --with-coverage --cover-erase --cover-package=zarr zarr
15+
py36: nosetests -v --with-coverage --cover-erase --cover-package=zarr --with-doctest --doctest-options=+NORMALIZE_WHITESPACE zarr
1616
py36: python -m doctest -o NORMALIZE_WHITESPACE -o ELLIPSIS docs/tutorial.rst docs/spec/v2.rst
1717
py36: flake8 zarr
1818
python setup.py bdist_wheel
19+
coverage report -m
1920
deps =
2021
-rrequirements_dev.txt
2122

0 commit comments

Comments
 (0)