aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.coveragerc3
-rw-r--r--.travis.yml3
-rw-r--r--tox.ini3
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
diff --git a/tox.ini b/tox.ini
index c10eef8..b1833da 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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}