Only install black on Python >= 3.6

This commit is contained in:
Tom Christie 2018-06-25 14:42:38 +01:00
parent e760e11f16
commit a2a2a2968c
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,8 @@ python:
install:
- pip install -r requirements.txt
- if [[ $TRAVIS_PYTHON_VERSION != '3.5' ]]; then pip install black; fi
script:
- if [[ $TRAVIS_PYTHON_VERSION != '3.5' ]]; then scripts/lint; fi
- scripts/test
- if [[ $TRAVIS_PYTHON_VERSION != '3.5' ]]; then scripts/lint; fi

View File

@ -1,6 +1,5 @@
requests
# Testing & Linting
# Testing
pytest
pytest-cov
black