mirror of
https://github.com/kennethreitz/env.git
synced 2026-06-05 15:00:18 +00:00
Add if statement around installing flake8-bugbear
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user