Permalink
Browse files

trying coveralls.io

  • Loading branch information...
1 parent 406555f commit 372647c940ba53840dbbc41590fa8a35b1b5ba17 @kmike committed Mar 20, 2013
Showing with 13 additions and 2 deletions.
  1. +4 −0 .coveragerc
  2. +7 −2 .travis.yml
  3. +2 −0 README.rst
View
@@ -0,0 +1,4 @@
+[run]
+branch = True
+omit =
+ pymorphy2/vendor/*
View
@@ -15,9 +15,14 @@ matrix:
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- - 'pip install -r requirements.txt --use-mirrors'
+ - pip install -r requirements.txt --use-mirrors
+ - pip install coverage pytest-cov coveralls --use-mirrors
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy' && ! $NO_COMPILER ]]; then pip install --use-mirrors dawg; fi
- python setup.py install
# command to run tests, e.g. python setup.py test
-script: py.test --doctest-modules tests pymorphy2
+script:
+ - py.test --cov=pymorphy2 --doctest-modules tests pymorphy2
+
+after_success:
+ - coveralls
View
@@ -6,6 +6,8 @@ for Russian language. License is MIT.
.. image:: https://travis-ci.org/kmike/pymorphy2.png?branch=master
:target: https://travis-ci.org/kmike/pymorphy2
+.. image:: https://coveralls.io/repos/kmike/pymorphy2/badge.png?branch=master
+ :target: https://coveralls.io/r/kmike/pymorphy2
* docs: http://pymorphy2.rtfd.org
* source code: github_, bitbucket_.

0 comments on commit 372647c

Please sign in to comment.