From 22e8da5f3e779b7de8a8473c1a8cb15089a2555d Mon Sep 17 00:00:00 2001 From: jnozsc Date: Sun, 12 Jan 2020 23:11:18 -0800 Subject: [PATCH] [travis] fix condition --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f0f26627e..29676d9fb 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 @@ -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