[travis] use correct statement to run the test

This commit is contained in:
jnozsc 2020-01-12 23:36:03 -08:00
parent 22e8da5f3e
commit f2b222e0aa

View File

@ -44,5 +44,5 @@ before_install:
- if [ "$JYTHON" == "true" ]; then ./devscripts/install_jython.sh; export PATH="$HOME/jython/bin:$PATH"; fi
script:
- pip install "flake8; python_version >= '2.7' and python_version != '3.0' and python_version != '3.1' and python_version != '3.2' and python_version != '3.3'"
- if flake8 2>/dev/null; then flake8 . ; fi
- if [ -x "$(command -v flake8)" ]; then flake8 . ;fi
- ./devscripts/run_tests.sh