diff --git a/.travis.yml b/.travis.yml index cb80aa4..50dcf57 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,6 @@ python: install: - pip install -r requirements/test.txt -script: flake8 app/**/** tests/** && pytest -vv tests/* --cov=./app +script: flake8 app/**/**/** tests/**/**/** && pytest -vv tests/*/* --cov=./app after_success: - coveralls diff --git a/installer.sh b/installer.sh index e77e3c1..35729e3 100755 --- a/installer.sh +++ b/installer.sh @@ -75,11 +75,12 @@ then if [ -d installiation/ ] then source installiation/bin/activate + rm -rf tests/__pycache__/ if [ -z "$2" ] then - python -m flake8 app/**/** tests/** && python -m pytest --count=2 -vv tests/* --cov=./app + python -m flake8 app/**/**/** tests/**/**/** && python -m pytest --count=2 -vv tests/*/* --cov=./app else - python -m flake8 app/**/** tests/** && python -m pytest --count=$2 -vv tests/* --cov=./app + python -m flake8 app/**/**/** tests/**/**/** && python -m pytest --count=$2 -vv tests/*/* --cov=./app fi else echo $error1