Reduce Travis test runs.
This commit is contained in:
parent
3b1c1dd78c
commit
c2a83fdec9
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue