summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAndrew Shadura <andrewsh@debian.org>2017-02-07 21:41:51 +0100
committerAndrew Shadura <andrewsh@debian.org>2017-02-07 21:41:51 +0100
commit35f29cba23fc56f87acaff1741ec8d921db0c59f (patch)
tree298703a4334eb61c2877f3285402eb68a2b8581f /tox.ini
Imported Upstream version 1.1.0
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini27
1 files changed, 27 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..c368ee7
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,27 @@
+[tox]
+envlist = packaging, pep8, py3pep8, py27, py33, py34, pypy
+
+[testenv]
+deps =
+ coverage
+ pytest
+commands =
+ coverage run --source unpaddedbase64 -m pytest
+ coverage report -m --fail-under 100
+
+[testenv:packaging]
+deps =
+ check-manifest
+commands = check-manifest
+
+[testenv:pep8]
+basepython = python2.7
+deps =
+ flake8
+commands = flake8 .
+
+[testenv:py3pep8]
+basepython = python3.4
+deps =
+ flake8
+commands = flake8 .