Skip to content

Commit

Permalink
Test out html coverage reports, coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich Leland committed Aug 19, 2015
1 parent 2ee5c02 commit f924d84
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ analysis:
. venv/bin/activate; flake8 sparkpost test

test: analysis
. venv/bin/activate; py.test --cov sparkpost test/
. venv/bin/activate; py.test --cov-report html --cov sparkpost test/

docs-install:
. venv/bin/activate; pip install -r docs/requirements.txt
Expand Down
13 changes: 10 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,20 @@
envlist = py27, py34, flake8

[testenv]
deps = -r{toxinidir}/dev-requirements.txt
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps =
-r{toxinidir}/dev-requirements.txt
coveralls

[testenv:flake8]
commands = flake8 sparkpost test

[testenv:py27]
commands = py.test --cov sparkpost test/
commands =
py.test --cov sparkpost test/
coveralls

[testenv:py34]
commands = py.test --cov sparkpost test/
commands =
py.test --cov sparkpost test/
coveralls

0 comments on commit f924d84

Please sign in to comment.