sh4nks 8 years ago
parent
commit
bd7bb97f15
3 changed files with 9 additions and 2 deletions
  1. 1 1
      Makefile
  2. 1 1
      pytest.ini
  3. 7 0
      tox.ini

+ 1 - 1
Makefile

@@ -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 - 1
pytest.ini

@@ -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

+ 7 - 0
tox.ini

@@ -0,0 +1,7 @@
+[tox]
+envlist = py27,py35
+
+[testenv]
+deps = -rrequirements-dev.txt
+whitelist_externals = make
+commands = py.test