Saltstack Official Linux Formula
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

.travis.yml 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. language: python
  2. python:
  3. - "2.7.13"
  4. sudo: required
  5. services:
  6. - docker
  7. addons:
  8. apt:
  9. packages:
  10. - apt-transport-https
  11. install:
  12. - pip install PyYAML
  13. - pip install virtualenv
  14. - |
  15. test -e Gemfile || cat <<EOF > Gemfile
  16. source 'https://rubygems.org'
  17. gem 'rake'
  18. gem 'test-kitchen'
  19. gem 'kitchen-docker'
  20. gem 'kitchen-inspec'
  21. gem 'inspec', '<3.0.0'
  22. #Version was frozen, because of issues in the version of inspec >3.0.0 -- see https://mirantis.jira.com/browse/PROD-24324 for more info
  23. gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git'
  24. - bundle install
  25. env:
  26. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=network
  27. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=system
  28. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=network
  29. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=system
  30. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=duo
  31. - PLATFORM=netmanagers/salt-2019.2-py3:ubuntu-18.04 SUITE=network
  32. # - PLATFORM=netmanagers/salt-2019.2-py3:ubuntu-18.04 SUITE=system
  33. # - PLATFORM=netmanagers/salt-2019.2-py3:ubuntu-18.04 SUITE=duo
  34. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=network
  35. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=system
  36. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=network
  37. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=system
  38. # - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=system
  39. # - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=network
  40. before_script:
  41. - set -o pipefail
  42. - make test | tail
  43. script:
  44. - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
  45. - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
  46. notifications:
  47. webhooks:
  48. urls:
  49. - https://webhooks.gitter.im/e/6123573504759330786b
  50. on_success: change # options: [always|never|change] default: always
  51. on_failure: never # options: [always|never|change] default: always
  52. on_start: never # options: [always|never|change] default: always
  53. on_cancel: never # options: [always|never|change] default: always
  54. on_error: never # options: [always|never|change] default: always
  55. email: false