From d5977caeab13f83c07497d15b935183d2df89f6f Mon Sep 17 00:00:00 2001 From: Matthew Peveler Date: Sun, 21 Jul 2019 21:24:24 -0400 Subject: [PATCH] Add if statement around installing flake8-bugbear --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ced47b6..41aa075 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,8 @@ matrix: - python: nightly install: - - pip install pytest pytest-cov flake8 flake8-bugbear python-coveralls + - pip install pytest pytest-cov flake8 python-coveralls + - if [ $(python -c "import sys; sys.exit(1 if (sys.version_info >= (3, 5)) else 0)") -eq 1 ]; then pip install flake8-bugbear; fi script: - flake8