diff options
-rw-r--r-- | .coveragerc | 3 | ||||
-rw-r--r-- | .travis.yml | 3 | ||||
-rw-r--r-- | tox.ini | 3 |
3 files changed, 8 insertions, 1 deletions
diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..097ce21 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,3 @@ +[run] +omit= + markdown/__version__.py diff --git a/.travis.yml b/.travis.yml index 1f07f39..1931a20 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,5 +10,8 @@ before_install: - sudo apt-get install libtidy-0.99-0 install: - pip install tox + - pip install coveralls script: - tox +after_success: + - coveralls @@ -4,5 +4,6 @@ envlist = py26, py27, py31, py32, py33, py34 [testenv] downloadcache = {toxworkdir}/cache deps = nose + coverage git+https://github.com/waylan/pytidylib.git#egg=PyTidyLib -commands = {envpython} {toxinidir}/run-tests.py {posargs} +commands = {envpython} {toxinidir}/run-tests.py --with-coverage --cover-package=markdown {posargs} |