diff --git a/.travis.yml b/.travis.yml index ea390e02b..2baed8ea6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -76,7 +76,7 @@ jobs: ## run unit tests and generate coverage data - cd monkey # this is our source dir - pip install pytest-xdist - - python -m pytest -n auto --cov=. # have to use `python -m pytest` instead of `pytest` to add "{$builddir}/monkey/monkey" to sys.path. + - python -m pytest -n auto --dist loadscope --cov=. # have to use `python -m pytest` instead of `pytest` to add "{$builddir}/monkey/monkey" to sys.path. # check js code. the npm install must happen after the flake8 because the node_modules folder will cause a lot of errors. - cd monkey_island/cc/ui @@ -133,7 +133,7 @@ jobs: ## run unit tests and generate coverage data - cd monkey # this is our source dir - pip install pytest-xdist - - python -m pytest -n auto + - python -m pytest -n auto --dist loadscope notifications: