summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToshio Kuratomi <toshio@fedoraproject.org>2015-08-27 13:09:13 -0700
committerToshio Kuratomi <toshio@fedoraproject.org>2015-08-27 13:20:52 -0700
commit1eee5ec6ff80278d95af9f9e9218fae033d8b034 (patch)
tree6242b68ab93044f46f3daefdfd43ed83e91aa17f
parent69071666673a1ea6e6c90a8e4edfc81b351ba133 (diff)
downloadansible-py3-test.tar.gz
Enable py34 test in travis so we don't regress recent fixespy3-test
-rw-r--r--.travis.yml1
-rw-r--r--tox.ini7
2 files changed, 6 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 335a8e58e3..7789ce4ce2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,6 +4,7 @@ env:
- TOKENV=py24
- TOXENV=py26
- TOXENV=py27
+ - TOXENV=py34
addons:
apt:
sources:
diff --git a/tox.ini b/tox.ini
index 643ab11dac..7eee0619f6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = {py26,py27}
+envlist = {py26,py27,py34}
[testenv]
commands = make tests
@@ -26,7 +26,10 @@ whitelist_externals = make
[testenv:py34]
commands =
python --version
+ # scripts in contrib still need to be ported to python3-compatible syntax
+ #python -m compileall -fq -x 'lib/ansible/module_utils|lib/ansible/modules' lib test contrib
python -m compileall -fq -x 'lib/ansible/module_utils|lib/ansible/modules' lib test
- make tests
+ # Unittests need lots of work to make code python3 compatible
+ #make tests
deps = -r{toxinidir}/test-requirements.txt
whitelist_externals = make