mirror of https://github.com/encode/starlette.git
Only install black on Python >= 3.6
This commit is contained in:
parent
e760e11f16
commit
a2a2a2968c
|
@ -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
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
requests
|
||||
|
||||
# Testing & Linting
|
||||
# Testing
|
||||
pytest
|
||||
pytest-cov
|
||||
black
|
||||
|
|
Loading…
Reference in New Issue