Skip to content

Commit

Permalink
Added pytest-cov
Browse files Browse the repository at this point in the history
  • Loading branch information
gtalarico committed May 2, 2018
1 parent 51e2a52 commit 8760c7d
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 8 deletions.
3 changes: 3 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ verify_ssl = true
name = "pypi"

[packages]
"e1839a8" = {path = ".", editable = true}

[dev-packages]
twine = "*"
Expand All @@ -13,6 +14,8 @@ click = "*"
"e1839a8" = {path = ".", editable = true}
sphinx = "*"
coverage = "*"
tox = "*"
pytest-cov = "*"

[requires]
python_version = "3.6"
47 changes: 44 additions & 3 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 14 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
[tox]
envlist = py27, py34, py35, py36, flake8
envlist =
; py27,
; py34,
; py35,
py36,
; flake8

[travis]
python =
3.6: py36
3.5: py35
3.4: py34
2.7: py27
; 3.5: py35
; 3.4: py34
; 2.7: py27

[testenv:flake8]
basepython = python
Expand All @@ -15,7 +20,11 @@ deps =
commands =
flake8 pipenv_pipes

[pytest]
addopts=--cov pipenv_pipes --cov-report=html

[testenv]
addopts=--cov pipenv_pipes --cov-report=html
setenv =
PYTHONPATH = {toxinidir}
deps =
Expand All @@ -31,5 +40,5 @@ commands =
pipenv run py.test tests
py.test --basetemp={envtmpdir}
pip install codecov
codecov
codecov -t "4023a586-778a-45ab-965f-7312b98b109c"

0 comments on commit 8760c7d

Please sign in to comment.