diff --git a/.travis.yml b/.travis.yml index 07862a6c1..24cd5069b 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"