mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
update to latest template code
These changes don't directly affect network, or don't actually change the behavior of existing code that network uses (coveralls), but are intended to sync with the latest template code. Adds `LSR_PUBLISH_COVERAGE=normal` to `.travis/config.sh` because network wants to publish coverage normally (as opposed to `strict` or not at all).
This commit is contained in:
parent
dec163940e
commit
7fdfa3204e
4 changed files with 106 additions and 18 deletions
9
tox.ini
9
tox.ini
|
|
@ -17,7 +17,6 @@ deps =
|
|||
py26: pytest
|
||||
|
||||
[base]
|
||||
system_python = /usr/bin/python3
|
||||
passenv = *
|
||||
setenv =
|
||||
PYTHONPATH = {toxinidir}/library:{toxinidir}/module_utils
|
||||
|
|
@ -143,9 +142,9 @@ passenv = RUN_PYLINT_*
|
|||
setenv =
|
||||
{[base]setenv}
|
||||
deps =
|
||||
ansible
|
||||
colorama
|
||||
pylint>=1.8.4
|
||||
ansible
|
||||
-rpylint_extra_requirements.txt
|
||||
whitelist_externals =
|
||||
{[base]whitelist_externals}
|
||||
|
|
@ -170,13 +169,13 @@ commands = yamllint .
|
|||
[testenv:coveralls]
|
||||
envdir = {toxworkdir}/env-{env:TRAVIS_PYTHON_VERSION:coveralls}
|
||||
passenv = TRAVIS TRAVIS_*
|
||||
whitelist_externals = bash
|
||||
deps =
|
||||
coveralls
|
||||
changedir = {[base]changedir}
|
||||
whitelist_externals =
|
||||
{[base]whitelist_externals}
|
||||
commands =
|
||||
bash -c 'cd ..; bash .travis/fix-coverage.sh; cd -'
|
||||
coveralls
|
||||
bash {toxinidir}/.travis/runcoveralls.sh {posargs}
|
||||
|
||||
[molecule_common]
|
||||
deps =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue