summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rwxr-xr-xtox.ini19
1 files changed, 19 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100755
index 0000000..d3ba96e
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,19 @@
+[tox]
+skipsdist=True
+envlist = py27,py3,style
+setupdir = postgresql
+
+[testenv]
+distribute = False
+commands =
+ {envpython} --version
+deps = flake8
+
+[testenv:style]
+commands = flake8
+
+[testenv:py27]
+basepython=python2.7
+
+[testenv:py3]
+basepython=python3.6