Skip to content

Commit

Permalink
:add: coveralls in travis process
Browse files Browse the repository at this point in the history
  • Loading branch information
b3j0f committed Jun 14, 2015
1 parent f0b9f2c commit fcc5c7d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
11 changes: 11 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[run]
source = b3j0f

[report]
exclude_lines =
pragma: no cover
except ImportError:
if __name__ == '__main__':
if PY2:
if PY3:
raise NotImplementedError
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ python:
- "3.4"
# command to install dependencies
install:
- "pip install setuptools"
- "python setup.py install"
- pip install coveralls
# command to run tests
script: python setup.py test
script:
- coverage setup.py test
# command to run after success
after_success:
- coveralls
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,5 @@ Donation
:alt: I'm grateful for gifts, but don't have a specific funding goal.

.. _Homepage: https://github.com/b3j0f/utils
.. _Documentation: http://pythonhosted.org/b3j0f.utils
.. _Documentation: http://b3j0futils.readthedocs.org/en/master/
.. _PyPI: https://pypi.python.org/pypi/b3j0f.utils/

0 comments on commit fcc5c7d

Please sign in to comment.