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 -r requirements.txt --use-mirrors
|
||||||
- pip install pytest-xdist --use-mirrors
|
- pip install pytest-xdist --use-mirrors
|
||||||
# command to run tests
|
# command to run tests
|
||||||
script: make test PYTESTOPTS="--tb=short -n40"
|
script: make test PYTESTOPTS="--tb=short -n25"
|
||||||
#notifications:
|
#notifications:
|
||||||
# email: false
|
# email: false
|
||||||
|
|
|
@ -93,7 +93,7 @@ def generate_comic_testers():
|
||||||
g = globals()
|
g = globals()
|
||||||
if "TRAVIS" in os.environ:
|
if "TRAVIS" in os.environ:
|
||||||
# Get limited number of scraper tests on Travis builds.
|
# Get limited number of scraper tests on Travis builds.
|
||||||
max_scrapers = 2000
|
max_scrapers = 1500
|
||||||
scraperclasses = islice(scraper.get_scraperclasses(), 0, max_scrapers)
|
scraperclasses = islice(scraper.get_scraperclasses(), 0, max_scrapers)
|
||||||
else:
|
else:
|
||||||
scraperclasses = scraper.get_scraperclasses()
|
scraperclasses = scraper.get_scraperclasses()
|
||||||
|
|
Loading…
Reference in a new issue