summary refs log tree commit diff
path: root/.travis.yml
diff options
context:
space:
mode:
authorjnozsc <jnozsc@gmail.com>2020-01-14 10:09:08 -0800
committerSergey M <dstftw@gmail.com>2020-01-15 01:09:08 +0700
commit14bb191634e2e8ab89a2e94e9e4d009b6406c8b2 (patch)
tree44c361d4ac4373341d074731e82dd02403a94dea /.travis.yml
parent628e5bc0b715c239e5fe367bc538a1c1fa563787 (diff)
downloadyoutube-dl-14bb191634e2e8ab89a2e94e9e4d009b6406c8b2.tar.gz
youtube-dl-14bb191634e2e8ab89a2e94e9e4d009b6406c8b2.tar.xz
youtube-dl-14bb191634e2e8ab89a2e94e9e4d009b6406c8b2.zip
[travis] Add flake8 job (#23720)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 14d95fa84..51afd469a 100644
--- 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