Add .travis.yml with flake8 checks and tests

This commit is contained in:
seemethere 2016-10-15 22:13:25 -06:00
parent 475880765e
commit cfcb5504e1

14
.travis.yml Normal file
View 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"