From 3bcc32781374bf561e93ab5cf18e4466192da153 Mon Sep 17 00:00:00 2001 From: Greg Back Date: Thu, 2 Feb 2017 10:28:16 -0600 Subject: [PATCH] Add tox support. --- tox.ini | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tox.ini diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..70e820e --- /dev/null +++ b/tox.ini @@ -0,0 +1,23 @@ +[tox] +envlist = py26,py27,py33,py34,py35,py36,pycodestyle + +[testenv] +deps = pytest +commands = pytest + +[testenv:pycodestyle] +deps = pycodestyle +commands = pycodestyle ./stix2 + +[pycodestyle] +ignore= +max-line-length=160 + +[travis] +python = + 2.6: py26 + 2.7: py27, pycodestyle + 3.3: py33 + 3.4: py34 + 3.5: py35 + 3.6: py36