Reduce Travis test runs.

This commit is contained in:
Bastian Kleineidam 2013-02-27 21:21:12 +01:00
parent 3b1c1dd78c
commit c2a83fdec9
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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()