.travis.yml 544 B

12345678910111213141516171819202122232425262728
  1. ---
  2. group: trusty
  3. language: python
  4. python: "2.7"
  5. env:
  6. - SCENARIO=debian
  7. - SCENARIO=ubuntu
  8. - SCENARIO=centos
  9. - SCENARIO=fedora
  10. - SCENARIO=amazonlinux
  11. services: docker
  12. addons:
  13. apt:
  14. packages:
  15. - docker-ce
  16. cache:
  17. pip: true
  18. directories:
  19. - ~/.cache/pipenv
  20. install:
  21. - pip install pipenv
  22. - pipenv install --two --dev
  23. - gem install rubocop
  24. script:
  25. - pipenv run molecule test --scenario-name $SCENARIO --driver-name docker --destroy always
  26. notifications:
  27. webhooks: https://galaxy.ansible.com/api/v1/notifications/