Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 6 additions & 12 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[tox]
envlist = linters, py27, py3
envlist = linters, py{27,36,37}-ansible{27,28,dev}

[testenv]
pip_pre = true
deps = pipenv
mock
ansible
ansibledev: git+https://github.com/ansible/ansible.git
ansible27: ansible<2.8
ansible28: ansible<2.9
commands=
pipenv --python {basepython}
pipenv install --dev #--ignore-pipfile --dev
pipenv run py.test -v test

Expand All @@ -15,13 +19,3 @@ commands=
pipenv install --dev
pipenv run flake8 --version
pipenv run flake8 setup.py docs ansible_runner test

[testenv:py27]
commands =
pipenv --python 2.7
{[testenv]commands}

[testenv:py3]
commands =
pipenv --python 3
{[testenv]commands}