Browse Source

Add tox configuration

blueprint-logging
Gergely Polonkai 2 years ago
parent
commit
e8af7e15a6
2 changed files with 11 additions and 0 deletions
  1. 3
    0
      .gitignore
  2. 8
    0
      tox.ini

+ 3
- 0
.gitignore View File

@@ -3,3 +3,6 @@
3 3
 __pycache__/
4 4
 *.pyc
5 5
 /Flask_Logging_Extras.egg-info/
6
+/.tox/
7
+.coverage
8
+/htmlcov/

+ 8
- 0
tox.ini View File

@@ -0,0 +1,8 @@
1
+[tox]
2
+envlist = py27, py33, py34, py35, py36
3
+
4
+[testenv]
5
+commands =
6
+  coverage run --source flask_logging_extras/ -m unittest discover --start-directory tests
7
+  coverage report -m
8
+deps = coverage

Loading…
Cancel
Save