No Description

.travis.yml 539B

1234567891011121314151617181920212223242526272829
  1. ---
  2. language: python
  3. python: "2.7"
  4. # Use the new container infrastructure
  5. sudo: false
  6. # Install ansible
  7. addons:
  8. apt:
  9. packages:
  10. - python-pip
  11. install:
  12. # Install ansible
  13. - pip install ansible
  14. # Check ansible version
  15. - ansible --version
  16. # Create ansible.cfg with correct roles_path
  17. - printf '[defaults]\nroles_path=../' >ansible.cfg
  18. script:
  19. # Basic role syntax check
  20. - ansible-playbook tests/test.yml -i tests/inventory --syntax-check
  21. notifications:
  22. webhooks: https://galaxy.ansible.com/api/v1/notifications/