From 7eb1ccb1d6277c27c2407fbe91f676ba1d67c88c Mon Sep 17 00:00:00 2001 From: hugovk Date: Fri, 18 Apr 2014 12:35:30 +0300 Subject: [PATCH] Run tests in different jobs: http://docs.travis-ci.com/user/speeding-up-the-build/#Parallelizing-your-builds-across-virtual-machines --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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"