@@ -16,7 +16,7 @@ clean:
find . -name '__pycache__' -exec rm -rf {} +
test:
- py.test --cov=flaskbb --cov-report=term-missing tests
+ py.test
run:
python manage.py runserver -dr
@@ -1,3 +1,3 @@
[pytest]
norecursedirs = docs flaskbb logs migrations whoosh_index
-addopts = --strict --random -vvl
+addopts = --strict --random -vvl --cov=flaskbb --cov-report=term-missing tests
@@ -0,0 +1,7 @@
+[tox]
+envlist = py27,py35
+
+[testenv]
+deps = -rrequirements-dev.txt
+whitelist_externals = make
+commands = py.test