diff options
author | Waylan Limberg <waylan@gmail.com> | 2014-07-10 22:57:14 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2014-07-10 22:57:14 -0400 |
commit | 5ecd68b81b487fcd4784c50cd8a1de6d23a2f62c (patch) | |
tree | aae94f450defe9074ee20c9dd3416a1a5a7c8aa9 | |
parent | d10f73cc0184ef93e042c381eadc6f09642b52ee (diff) | |
download | markdown-5ecd68b81b487fcd4784c50cd8a1de6d23a2f62c.tar.gz markdown-5ecd68b81b487fcd4784c50cd8a1de6d23a2f62c.tar.bz2 markdown-5ecd68b81b487fcd4784c50cd8a1de6d23a2f62c.zip |
Add Coverage (and Coveralls) support to tests.
Looks like we need to write some more tests. Only 76% covered.
-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 22a5855..7471163 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,5 +9,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 [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} |