[travis] fix condition
This commit is contained in:
parent
43e6deb562
commit
22e8da5f3e
@ -13,7 +13,7 @@ dist: trusty
|
||||
env:
|
||||
- YTDL_TEST_SET=core
|
||||
- YTDL_TEST_SET=download
|
||||
matrix:
|
||||
jobs:
|
||||
include:
|
||||
- python: 3.7
|
||||
dist: xenial
|
||||
@ -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'"
|
||||
- flake8 .
|
||||
- if flake8 2>/dev/null; then flake8 . ; fi
|
||||
- ./devscripts/run_tests.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user