diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2016-11-05 13:44:00 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2016-11-05 13:44:00 +0100 |
commit | b5582380ac70ca8c180344d9b22aacdff73b1e0b (patch) | |
tree | d6dacfb81567e02089f5d41e34211ee46cdbb347 /.ci | |
parent | 88ea5e0b2cc15c37fdeb3e38857f6dab6fd87d12 (diff) | |
download | psutil-b5582380ac70ca8c180344d9b22aacdff73b1e0b.tar.gz |
travis: execute mem leaks and flake8 tests only on py 2.7 and 3.5; no need to test all python versions
Diffstat (limited to '.ci')
-rwxr-xr-x | .ci/travis/run.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.ci/travis/run.sh b/.ci/travis/run.sh index e70b58b8..b3a6a4a0 100755 --- a/.ci/travis/run.sh +++ b/.ci/travis/run.sh @@ -24,11 +24,11 @@ else python psutil/tests/runner.py fi -# run mem leaks test -python psutil/tests/test_memory_leaks.py - -# run linters -if [ "$PYVER" != "2.6" ]; then - flake8 - pep8 +if [ "$PYVER" == "2.7" ] || [ "$PYVER" == "3.5" ]; then + # run mem leaks test + python psutil/tests/test_memory_leaks.py + # run linter (on Linux only) + if [[ "$(uname -s)" != 'Darwin' ]]; then + python -m flake8 + fi fi |