Remove ansiblelint as tox entry 40/73140/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 4 Jan 2022 22:07:08 +0000 (23:07 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 4 Jan 2022 22:07:46 +0000 (23:07 +0100)
It false asks for ansible in any XtestingCI child's test requirements.

Change-Id: I6cff0ba900360c97db64f519ef4055e2e18cc28c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
.travis.yml
tox.ini

index 3c798de..c1adf47 100644 (file)
@@ -16,7 +16,7 @@ jobs:
   include:
     - stage: run unit tests
       script: >
-        tox -e docs,pep8,pylint,yamllint,ansiblelint,bashate,py39,cover
+        tox -e docs,pep8,pylint,yamllint,bashate,py39,cover
     - stage: build xtesting images
       script: sudo -E bash build.sh
       env:
diff --git a/tox.ini b/tox.ini
index 6f4f623..c09e942 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = docs,pep8,pylint,yamllint,ansiblelint,bashate,py39,cover,perm
+envlist = docs,pep8,pylint,yamllint,bashate,py39,cover,perm
 skipsdist = True
 
 [testenv]
@@ -45,11 +45,6 @@ files =
 commands =
   yamllint -s {[testenv:yamllint]files}
 
-[testenv:ansiblelint]
-basepython = python3.9
-commands =
-  ansible-lint -xcommand-instead-of-module,command-instead-of-shell,risky-shell-pipe ansible/site.yml
-
 [testenv:py38]
 commands = nosetests xtesting/tests/unit