Merge pull request #29 from seemethere/add_travis
Add .travis.yml with flake8 checks and tests
This commit is contained in:
commit
e6fb52c91b
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 -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"
|
Loading…
Reference in New Issue
Block a user