Skip to content

TravisCI: run syntax checking after each change #1

Open
@php-coder

Description

@php-coder
Owner

It would be great to checking module for syntax errors after each change. To do this we should:

  1. create tests playbook (tests/test.yml)
  2. add and configure .travis.yml for running command like ansible-playbook --syntax-check tests/test.yml --list-tasks
  3. add badge to README.md

@see https://servercheck.in/blog/testing-ansible-roles-travis-ci-github

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @php-coder

        Issue actions

          TravisCI: run syntax checking after each change · Issue #1 · php-coder/ansible-role-oraclejdk