diff --git a/.travis.yml b/.travis.yml index 34ffcfe1a..24eb977a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,8 +29,7 @@ script: - coverage erase - python setup.py clean - python setup.py build_ext --inplace - - coverage run --append --include=PIL/* selftest.py - - python Tests/run.py --coverage + - $TEST_CMD after_success: - coverage report @@ -39,6 +38,10 @@ after_success: - pep8 PIL/*.py - pyflakes PIL/*.py +env: + - TEST_CMD=coverage run --append --include=PIL/* selftest.py + - TEST_CMD=python Tests/run.py --coverage + matrix: allow_failures: - python: "pypy"