|
3 | 3 | envlist = |
4 | 4 | black, pylint, flake8, yamllint |
5 | 5 | py{26,27,36,37,38}, shellcheck |
6 | | - custom |
| 6 | + collection, custom |
7 | 7 | skipsdist = true |
8 | 8 | skip_missing_interpreters = true |
9 | 9 |
|
@@ -164,6 +164,16 @@ commands = |
164 | 164 | {[testenv:molecule_syntax]commands} |
165 | 165 | {[testenv:molecule_test]commands} |
166 | 166 |
|
| 167 | +[testenv:collection] |
| 168 | +changedir = {toxinidir} |
| 169 | +ansible_python_interpreter = /usr/bin/python3 |
| 170 | +deps = |
| 171 | + ruamel.yaml |
| 172 | + ansible |
| 173 | + jmespath |
| 174 | +commands = |
| 175 | + bash {toxinidir}/.travis/runcollection.sh {toxworkdir} master |
| 176 | + |
167 | 177 | [testenv:custom] |
168 | 178 | changedir = {toxinidir} |
169 | 179 | envdir = {toxworkdir}/env-{env:TRAVIS_PYTHON_VERSION:custom} |
@@ -200,7 +210,7 @@ max-line-length = 88 |
200 | 210 | python = |
201 | 211 | 2.6: py26,coveralls,custom |
202 | 212 | 2.7: py27,coveralls,flake8,pylint,custom |
203 | | - 3.6: py36,coveralls,black,yamllint,shellcheck,custom |
| 213 | + 3.6: py36,coveralls,black,yamllint,shellcheck,custom,collection |
204 | 214 | 3.7: py37,coveralls,custom |
205 | 215 | 3.8: py38,coveralls,custom |
206 | 216 | 3.8-dev: py38,coveralls,custom |
0 commit comments