Merge pull request #29 from seemethere/add_travis

Add .travis.yml with flake8 checks and tests
This commit is contained in:
Channel Cat 2016-10-16 00:54:44 -07:00 committed by GitHub
commit e6fb52c91b

14
.travis.yml Normal file
View File

@ -0,0 +1,14 @@
language: python
python:
- "3.5"
# command to install dependencies
install:
- "pip install -r requirements.txt"
- "pip install -r 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"