.travis.yml 608 B

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