From 4aed7e86c8975db8863154ca12ff13b959a33304 Mon Sep 17 00:00:00 2001 From: Adrien Waksberg Date: Thu, 29 Nov 2018 18:28:33 +0100 Subject: [PATCH] test: add check yamllint --- .travis.yml | 2 ++ .yamllint | 10 ++++++++++ CHANGELOG.md | 1 + 3 files changed, 13 insertions(+) create mode 100644 .yamllint diff --git a/.travis.yml b/.travis.yml index 0a90643..9e0b0eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,7 @@ services: before_install: - bundle install - sudo pip install --upgrade pip + - sudo pip install yamllint - sudo pip install ansible-lint - git clone https://github.com/ansible/galaxy-lint-rules.git @@ -20,6 +21,7 @@ script: - kitchen conv certbot-debian-9 | grep changed=0 - kitchen verify certbot-debian-9 - ansible-lint -r galaxy-lint-rules/rules . + - yamllint . notifications: webhooks: https://galaxy.ansible.com/api/v1/notifications/ diff --git a/.yamllint b/.yamllint new file mode 100644 index 0000000..b1b703a --- /dev/null +++ b/.yamllint @@ -0,0 +1,10 @@ +extends: default + +ignore: | + .kitchen/* + vendor/ + +rules: + line-length: + max: 120 + level: warning diff --git a/CHANGELOG.md b/CHANGELOG.md index a90e29a..33831b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). Which is based on [Keep A Changelog](http://keepachangelog.com/) ## [Unreleased] +- test: add check yamllint ## [2.1.1] 2018-11-26 - fix: replace shell module to command