1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

testing coveralls

This commit is contained in:
Ilya Kreymer 2014-02-24 23:43:32 -08:00
parent d702b299ae
commit bf3a373e7e
2 changed files with 15 additions and 1 deletions

8
.coveragerc Normal file
View File

@ -0,0 +1,8 @@
[run]
omit =
*/test/*
*/tests/*
[report]
exclude_lines =
if __name__ == .__main__.:

View File

@ -4,7 +4,13 @@ python:
# command to install dependencies
install:
- "python setup.py -q install"
- "pip install coveralls"
# command to run tests
#script: nosetests --with-doctest
#script: py.test run-tests.py ./pywb/ --doctest-modules --ignore=setup.py
script: py.test -v --doctest-module ./tests/*.py ./pywb/
#script: py.test -v --doctest-module ./tests/*.py ./pywb/
script:
run-tests.py
after_success:
coveralls