From ff11dba78667e02abbdffdcc877208984b31715f Mon Sep 17 00:00:00 2001 From: Noah Morrison Date: Wed, 14 Jun 2017 23:35:04 -0400 Subject: [PATCH] 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. --- .travis.yml | 6 +++--- tox.ini | 8 +++++++- 2 files changed, 10 insertions(+), 4 deletions(-) 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] -- 2.47.3