From bf3a373e7ecc1fedd5e07a2fe559545a1e448d24 Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Mon, 24 Feb 2014 23:43:32 -0800 Subject: [PATCH] testing coveralls --- .coveragerc | 8 ++++++++ .travis.yml | 8 +++++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 00000000..63400c07 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,8 @@ +[run] +omit = + */test/* + */tests/* + +[report] +exclude_lines = + if __name__ == .__main__.: diff --git a/.travis.yml b/.travis.yml index 81d946f7..61a5b940 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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