Skip to content
This repository has been archived by the owner on Nov 14, 2018. It is now read-only.

Commit

Permalink
fix #29: add style and docs to Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
groovecoder committed Feb 11, 2016
1 parent ab728c0 commit 41d66fd
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Expand Up @@ -2,9 +2,6 @@ language: python
python:
- "2.7"
install:
- pip install requirements-test.txt
- pip install coveralls
- pip install tox
script:
coverage run ./manage.py test
after_success:
coveralls
tox
25 changes: 25 additions & 0 deletions tox.ini
@@ -0,0 +1,25 @@
[tox]
envlist = py27, style, docs

[testenv]
deps =
-r {toxinidir}/requirements-test.txt
coveralls
commands =
coverage run ./manage.py test
coveralls

[flake8]
exclude=.?*,migrations

[testenv:style]
deps =
-r {toxinidir}/requirements.txt
flake8
commands= flake8 .

[testenv:docs]
deps =
-r {toxinidir}/requirements-docs.txt
changedir = docs
commands = sphinx-build . html

0 comments on commit 41d66fd

Please sign in to comment.