From c2a83fdec94bce81c62ad306c169efc4a946c8e6 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Wed, 27 Feb 2013 21:21:12 +0100 Subject: [PATCH] Reduce Travis test runs. --- .travis.yml | 2 +- tests/test_comics.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 04ff2a49b..377ffbf05 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,6 @@ install: - pip install -r requirements.txt --use-mirrors - pip install pytest-xdist --use-mirrors # command to run tests -script: make test PYTESTOPTS="--tb=short -n40" +script: make test PYTESTOPTS="--tb=short -n25" #notifications: # email: false diff --git a/tests/test_comics.py b/tests/test_comics.py index 92e465141..7102b9e2f 100644 --- a/tests/test_comics.py +++ b/tests/test_comics.py @@ -93,7 +93,7 @@ def generate_comic_testers(): g = globals() if "TRAVIS" in os.environ: # Get limited number of scraper tests on Travis builds. - max_scrapers = 2000 + max_scrapers = 1500 scraperclasses = islice(scraper.get_scraperclasses(), 0, max_scrapers) else: scraperclasses = scraper.get_scraperclasses()