From 4bdebf573e0f8cdf68697701fbf00c203f5a09b8 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Tue, 9 May 2017 17:24:32 -0700 Subject: [PATCH] Tell Travis CI to use multiple cores MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Let’s see if this helps the build go faster --- .travis.yml | 2 +- setup.cfg | 1 + test_requirements.txt | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 568d6689..eb98b714 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,7 +47,7 @@ install: script: - mv ocrmypdf dont_import_this_ocrmypdf -- pytest +- pytest -n auto - mv dont_import_this_ocrmypdf ocrmypdf deploy: diff --git a/setup.cfg b/setup.cfg index 579a575c..432d7f5c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,3 +11,4 @@ ignore = [tool:pytest] norecursedirs = lib .pc .git output cache resources testpaths = tests +addopts = -n auto \ No newline at end of file diff --git a/test_requirements.txt b/test_requirements.txt index 3e9f413a..a3e920b2 100644 --- a/test_requirements.txt +++ b/test_requirements.txt @@ -1,2 +1,3 @@ pytest >= 3.0 -pytest-helpers-namespace \ No newline at end of file +pytest-helpers-namespace +pytest-xdist \ No newline at end of file