Add .travis.yml with flake8 checks and tests
This commit is contained in:
parent
475880765e
commit
cfcb5504e1
14
.travis.yml
Normal file
14
.travis.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
language: python
|
||||
python:
|
||||
- "3.5"
|
||||
# command to install dependencies
|
||||
install:
|
||||
- "pip install requirements.txt"
|
||||
- "pip install requirements-dev.txt"
|
||||
- "python setup.py install"
|
||||
- "pip install flake8"
|
||||
- "pip install pytest"
|
||||
# flake8 check
|
||||
before_script: "flake8 sanic"
|
||||
# command to run tests
|
||||
script: "py.test -v tests"
|
Loading…
Reference in New Issue
Block a user