]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[travis] Add flake8 job (#23720)
authorjnozsc <jnozsc@gmail.com>
Tue, 14 Jan 2020 18:09:08 +0000 (10:09 -0800)
committerSergey M <dstftw@gmail.com>
Tue, 14 Jan 2020 18:09:08 +0000 (01:09 +0700)
.travis.yml

index 14d95fa84c105e3c310b2e0ecf984a7688bfb172..51afd469afe569df116d0dd5c200c426f36546b6 100644 (file)
@@ -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