[tox]
envlist =
  py{27,35,36,37}-ansible{24,25,26,27}
skipsdist = True

[travis:env]
ANSIBLE =
    2.4: ansible24
    2.5: ansible25
    2.6: ansible26
    2.7: ansible27

[testenv]
setenv = ANSIBLE_DEPRECATION_WARNINGS = False
deps =
  pytest
  ansible24: ansible>=2.4,<2.5
  ansible25: ansible>=2.5,<2.6
  ansible26: ansible>=2.6,<2.7
  ansible27: ansible>=2.7dev,<2.8
commands = pytest {posargs}

[tox]
envlist =
  py{27,35,36,37,38}-ansible{27,28,29}
skipsdist = True

[travis:env]
ANSIBLE =
    2.7: ansible27
    2.8: ansible28
    2.9: ansible29

[testenv]
setenv = ANSIBLE_DEPRECATION_WARNINGS = False
deps =
  pytest
  ansible27: ansible>=2.7,<2.8
  ansible28: ansible>=2.8,<2.9
  ansible29: ansible>=2.9,<2.10
commands = pytest {posargs}

Update tests for current Ansible and Python versions
Update tests for current Ansible and Python versions

* Add testing with Python 3.8 (could probably add 3.9 as well)
* Add testing with Ansible 2.8.x and 2.9.x
* Remove testing with Ansible < 2.7

Signed-off-by: Drew Northup <56ea4574990a7993f1acb5657a8cce8fdd3e27de@maine.edu>
