From a396e6714e9402125026a9d6394e678fd99558b8 Mon Sep 17 00:00:00 2001 From: Adrien Waksberg Date: Wed, 5 Dec 2018 10:20:37 +0100 Subject: [PATCH] test: add ansible-lint --- .travis.yml | 4 ++++ CHANGELOG.md | 1 + 2 files changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index b5e2eb7..fc35ba5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,9 @@ services: before_install: - bundle install + - sudo pip install --upgrade pip + - sudo pip install ansible-lint + - git clone https://github.com/ansible/galaxy-lint-rules.git script: - kitchen conv bind-debian-9 @@ -18,6 +21,7 @@ script: - kitchen conv bind-zones-subset-debian-9 - kitchen conv bind-zones-subset-debian-9 | grep changed=0 - kitchen verify bind-zones-subset-debian-9 + - ansible-lint -r galaxy-lint-rules/rules . notifications: webhooks: https://galaxy.ansible.com/api/v1/notifications/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b7bb67..e1d3db0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/) ## [Unreleased] - break: change with_items to loop +- test: add ansible-lint ## v1.2.2 (2018-09-07) - fix: remove a bug in dnssec cron