commit: 14bb191634e2e8ab89a2e94e9e4d009b6406c8b2
parent 628e5bc0b715c239e5fe367bc538a1c1fa563787
Author: jnozsc <jnozsc@gmail.com>
Date: Tue, 14 Jan 2020 10:09:08 -0800
[travis] Add flake8 job (#23720)
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
@@ -13,7 +13,7 @@ dist: trusty
env:
- YTDL_TEST_SET=core
- YTDL_TEST_SET=download
-matrix:
+jobs:
include:
- python: 3.7
dist: xenial
@@ -35,6 +35,11 @@ matrix:
env: YTDL_TEST_SET=download
- env: JYTHON=true; YTDL_TEST_SET=core
- env: JYTHON=true; YTDL_TEST_SET=download
+ - name: flake8
+ python: 3.8
+ dist: xenial
+ install: pip install flake8
+ script: flake8 .
fast_finish: true
allow_failures:
- env: YTDL_TEST_SET=download