Skip to content

Commit

Permalink
Updated the tox.ini file to run multiple ansible versions.
Browse files Browse the repository at this point in the history
Purpose: so that devs can use tox to run v1 or v2 of ansible with various versions of python.
For example `tox -e py27-v2 will run python2.7 on v2. Currently, only py26 and py27 are run on v1 when
running just `tox` so that we aren't breaking builds.
  • Loading branch information
rofinn committed Apr 14, 2015
1 parent 53177a9 commit 131ce11
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
[tox]
envlist = py26,py27
envlist = {py26,py27}-v{1}

[testenv]
deps = -r{toxinidir}/test-requirements.txt
whitelist_externals = make

[testenv:py26-v1]
commands = make tests

[testenv:py27-v1]
commands = make tests

[testenv:py26-v2]
commands = make newtests

[testenv:py27-v2]
commands = make newtests

[testenv:py34-v2]
commands = make newtests

0 comments on commit 131ce11

Please sign in to comment.