diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-12-21 13:06:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-21 13:06:27 -0500 |
commit | 4c20c6b76f295dc83e2ce730238b7753724e7e53 (patch) | |
tree | 4e6ff6855c6e5343e97d0864f47cb2088fe364f9 /utils/tox.ini | |
parent | 3e5f3380ccacc654450924fca830b93fda6c7592 (diff) | |
parent | 7d02b608de839cb57e2071e9d55052957c13aae3 (diff) | |
download | openshift-4c20c6b76f295dc83e2ce730238b7753724e7e53.tar.gz openshift-4c20c6b76f295dc83e2ce730238b7753724e7e53.tar.bz2 openshift-4c20c6b76f295dc83e2ce730238b7753724e7e53.tar.xz openshift-4c20c6b76f295dc83e2ce730238b7753724e7e53.zip |
Merge pull request #3001 from detiber/python3
python3 support, add tox for better local testing against multiple python versions
Diffstat (limited to 'utils/tox.ini')
-rw-r--r-- | utils/tox.ini | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/utils/tox.ini b/utils/tox.ini new file mode 100644 index 000000000..747d79dfe --- /dev/null +++ b/utils/tox.ini @@ -0,0 +1,17 @@ +[tox] +minversion=2.3.1 +envlist = + py{27,35}-{flake8,unit} +skipsdist=True +skip_missing_interpreters=True + +[testenv] +usedevelop=True +deps = + -rtest-requirements.txt + py35-flake8: flake8-bugbear + +commands = + flake8: flake8 --config=setup.cfg ../ --exclude="../utils,.tox,../inventory" + flake8: python setup.py flake8 + unit: python setup.py nosetests |