travis, coveralls

This commit is contained in:
Guilhem Saurel 2016-06-11 15:58:22 +02:00
parent 3b13423bd2
commit b8188a2927
2 changed files with 17 additions and 0 deletions

10
.travis.yml Normal file
View File

@ -0,0 +1,10 @@
language: python
python:
- 3.5
install:
- pip install -r requirements.txt python-coveralls flake8
script:
- coverage run manage.py test
- flake8 .
after_success:
- coveralls

7
setup.cfg Normal file
View File

@ -0,0 +1,7 @@
[coverage:run]
source = accounts, ponyconf, proposals
omit = */migrations/*
[flake8]
max-line-length = 119
exclude = */migrations/*