diff options
-rwxr-xr-x | .ci/travis/run.sh | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/.ci/travis/run.sh b/.ci/travis/run.sh index 562564b0..821e05f7 100755 --- a/.ci/travis/run.sh +++ b/.ci/travis/run.sh @@ -13,26 +13,21 @@ if [[ "$(uname -s)" == 'Darwin' ]]; then pyenv activate psutil fi -# install psutil -make clean -python setup.py build -python setup.py develop - # run tests (with coverage) if [[ $PYVER == '2.7' ]] && [[ "$(uname -s)" != 'Darwin' ]]; then - PSUTIL_TESTING=1 python -Wa -m coverage run psutil/tests/runner.py + make test PYTHON=python else - PSUTIL_TESTING=1 python -Wa psutil/tests/runner.py --parallel + make test-parallel PYTHON=python fi if [ "$PYVER" == "2.7" ] || [ "$PYVER" == "3.6" ]; then # run mem leaks test - PSUTIL_TESTING=1 python -Wa psutil/tests/test_memory_leaks.py + make test-memleaks PYTHON=python # run linter (on Linux only) if [[ "$(uname -s)" != 'Darwin' ]]; then make lint PYTHON=python fi fi -PSUTIL_TESTING=1 python -Wa scripts/internal/print_access_denied.py -PSUTIL_TESTING=1 python -Wa scripts/internal/print_api_speed.py +make print-access-denied PYTHON=python +make print-api-speed PYTHON=python |