travis: remove sudo: required

The sudo keyword will be fully deprecated.

https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
Signed-off-by: Christian Berendt <berendt@betacloud-solutions.de>
pull/3326/head
Christian Berendt 2018-12-04 16:58:25 +01:00 committed by Sébastien Han
parent 1cff1f9806
commit 6f994195d1
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
sudo: required
language: python language: python
python: python:
- "3.6" - "3.6"
@ -10,4 +9,4 @@ install:
- git clone https://github.com/ansible/galaxy-lint-rules - git clone https://github.com/ansible/galaxy-lint-rules
script: script:
- pytest -vvvv library/ - pytest -vvvv library/
- for i in $(ls -1 roles/); do ansible-lint -x 204 -v -r galaxy-lint-rules/rules roles/$i/ ; done - for i in $(ls -1 roles/); do ansible-lint -x 204 -v -r galaxy-lint-rules/rules roles/$i/ ; done