Skip to content

Commit

Permalink
Merge pull request #118 from jakirkham/use_coveralls
Browse files Browse the repository at this point in the history
Use Coveralls
  • Loading branch information
alimanfoo committed Feb 20, 2017
2 parents 17a8a78 + 82a0a19 commit cb6fba6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ python:
- 3.6

install:
- pip install -U tox-travis pip setuptools wheel
- 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 @@ -11,3 +11,6 @@ more information.

.. image:: https://ci.appveyor.com/api/projects/status/7d4iko59k8hpbbik?svg=true
:target: https://ci.appveyor.com/project/alimanfoo/zarr

.. image:: https://coveralls.io/repos/github/alimanfoo/zarr/badge.svg?branch=master
:target: https://coveralls.io/github/alimanfoo/zarr?branch=master
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ setenv =
PYTHONHASHSEED = 42
commands =
python setup.py build_ext --inplace
py27,py34,py35: nosetests -v zarr
py36: nosetests -v --with-coverage --cover-erase --cover-min-percentage=100 --cover-package=zarr --with-doctest --doctest-options=+NORMALIZE_WHITESPACE zarr
py27,py34,py35: nosetests -v --with-coverage --cover-erase --cover-package=zarr zarr
py36: nosetests -v --with-coverage --cover-erase --cover-package=zarr --with-doctest --doctest-options=+NORMALIZE_WHITESPACE zarr
py36: python -m doctest -o NORMALIZE_WHITESPACE -o ELLIPSIS docs/tutorial.rst docs/spec/v2.rst
py36: flake8 zarr
python setup.py bdist_wheel
coverage report -m
deps =
-rrequirements_dev.txt

Expand Down

0 comments on commit cb6fba6

Please sign in to comment.