Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Commit

Permalink
chore: Fix coverage setup
Browse files Browse the repository at this point in the history
  • Loading branch information
relekang committed Apr 28, 2016
1 parent fe4c74c commit 4b953b4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
16 changes: 5 additions & 11 deletions .frigg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,11 @@ tasks:
- echo 'USE_SQLITE=True' > tests/local.py
- tox -e flake8
- tox -e isort
- tox -e py27-django14
- tox -e py27-django15
- tox -e py27-django16
- tox -e py27-django17
- tox -e py27-django18
- tox -e py34-django15
- tox -e py34-django16
- tox -e py34-django17
- tox -e py34-django18
- tox -e py34-django19
- coverage combine && coverage report && coverage xml
- tox -e py2-django18
- tox -e py2-django19
- tox -e py3-django18
- tox -e py3-django19
- tox -e coverage

coverage:
path: coverage.xml
Expand Down
10 changes: 8 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
[tox]
envlist =
flake8,isort
{py27,py3}-{django18,django19}
{py2,py3}-{django18,django19},
coverage
skipsdist = True

[testenv]
basepython =
py3: python3
py27: python2
py2: python2
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}
commands =
Expand All @@ -26,3 +27,8 @@ commands = flake8
basepython = python3
deps = isort
commands = isort -c -rc nopassword tests

[testenv:coverage]
basepython = python3
deps = coverage
commands = coverage combine && coverage report && coverage xml

0 comments on commit 4b953b4

Please sign in to comment.