|
language: python
|
|
|
|
cache: pip
|
|
|
|
python:
|
|
- "3.5"
|
|
- "3.6"
|
|
|
|
install:
|
|
- pip install -r requirements.txt
|
|
- if [[ $TRAVIS_PYTHON_VERSION != '3.5' ]]; then pip install black; fi
|
|
|
|
script:
|
|
- scripts/test
|
|
- if [[ $TRAVIS_PYTHON_VERSION != '3.5' ]]; then scripts/lint; fi
|