From: Noah Morrison Date: Thu, 15 Jun 2017 03:35:04 +0000 (-0400) Subject: Move coverage into tox and ignore coverage on py32 X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=ff11dba78667e02abbdffdcc877208984b31715f;p=chevron.git Move coverage into tox and ignore coverage on py32 The coverage command fails on python3.2 for some reason. Whatever, I'll just ignore it then. --- diff --git a/.travis.yml b/.travis.yml index 1cbd564..b579d3d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,11 +8,13 @@ python: - "3.3" - "3.4" - "3.5" + - "pypy" matrix: include: - python: 3.5 - env: TOXENV=flake8 + env: + - TOXENV=flake8 install: - pip install coveralls @@ -20,8 +22,6 @@ install: script: - tox - - coverage run --source=chevron ./test_spec.py - - coverage report -m after_success: - coveralls diff --git a/tox.ini b/tox.ini index 547d98b..4814333 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,13 @@ [tox] -envlist = py26, py27, py33, py34, pypy, flake8 +envlist = py26, py27, py32, py33, py34, py35, pypy, flake8 [testenv] +deps = coverage +commands = + coverage run --source={toxinidir}/chevron {toxinidir}/test_spec.py + coverage report -m + +[testenv:py32] commands = python {toxinidir}/test_spec.py [testenv:flake8]