Remove ansiblelint as tox entry 85/73185/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>
Fri, 21 Jan 2022 13:05:58 +0000 (14:05 +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>
(cherry picked from commit ee4aeafa6a7073c90e0496fb9efe147375197caf)
(cherry picked from commit 1b0c4def95c5bf93462d3885a53012bc7f745173)

.travis.yml
tox.ini

index fe0c0b5..d402493 100644 (file)
@@ -23,7 +23,7 @@ jobs:
   include:
     - stage: run unit tests
       script: >
-        tox -e docs,pep8,pylint,yamllint,ansiblelint,bashate,py27,py38,cover
+        tox -e docs,pep8,pylint,yamllint,bashate,py27,py38,cover
     - stage: build xtesting images
       script: sudo -E bash build.sh
       env:
diff --git a/tox.ini b/tox.ini
index b9c3868..cb6e180 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = docs,pep8,pylint,yamllint,ansiblelint,bashate,py27,py38,cover,perm
+envlist = docs,pep8,pylint,yamllint,bashate,py27,py38,cover,perm
 skipsdist = True
 
 [testenv]
@@ -45,11 +45,6 @@ files =
 commands =
   yamllint -s {[testenv:yamllint]files}
 
-[testenv:ansiblelint]
-basepython = python3.8
-commands =
-  ansible-lint -x303,305,306 ansible/site.yml
-
 [testenv:py38]
 commands = nosetests xtesting/tests/unit