---
dist: trusty
sudo: required
language: ruby

install:
  # Install Ansible
  - sudo apt-get install -y python-pip
  - pip install ansible

  # Install Test Kitchen
  - gem install test-kitchen kitchen-docker kitchen-ansible

  # install testinfra
  - pip install testinfra

  # Check Test Kitchen version
  - kitchen --version


script:
  # Basic role syntax check
  - ansible-playbook tests/test.yml -i tests/inventory --syntax-check

  # Test each system using Test Kitchen
  - kitchen test


notifications:
  webhooks: https://galaxy.ansible.com/api/v1/notifications/

---
dist: trusty
sudo: required
language: ruby

install:
  # Install Ansible
  - sudo apt-get install -y python-pip
  - pip install ansible

  # Install Test Kitchen
  - gem install test-kitchen kitchen-docker kitchen-ansible

  # install testinfra
  - pip install testinfra

  # Check versions
  - kitchen --version
  - ansible --version
  - testinfra --version


script:
  # Basic role syntax check
  - ansible-playbook tests/test.yml -i tests/inventory --syntax-check

  # Test each system using Test Kitchen
  - kitchen test


notifications:
  webhooks: https://galaxy.ansible.com/api/v1/notifications/

Print versions of ansible, test kitchen and testinfra
CI: Print versions of ansible, test kitchen and testinfra

Signed-off-by: Tomas Hozza <2152b765a3a51268598a4503265cd77ce732fa8c@gmail.com>
