Saltstack Official Linux Formula
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

.travis.yml 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. sudo: required
  2. services:
  3. - docker
  4. addons:
  5. apt:
  6. packages:
  7. - apt-transport-https
  8. install:
  9. - pip install PyYAML
  10. - pip install virtualenv
  11. - |
  12. test -e Gemfile || cat <<EOF > Gemfile
  13. source 'https://rubygems.org'
  14. gem 'rake'
  15. gem 'test-kitchen'
  16. gem 'kitchen-docker'
  17. gem 'kitchen-inspec'
  18. gem 'inspec'
  19. gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git'
  20. - bundle install
  21. env:
  22. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=network
  23. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=system
  24. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=network
  25. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=system
  26. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=network
  27. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=system
  28. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=network
  29. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=system
  30. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=network
  31. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=system
  32. before_script:
  33. - set -o pipefail
  34. - make test | tail
  35. script:
  36. - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
  37. - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
  38. notifications:
  39. webhooks:
  40. urls:
  41. - https://webhooks.gitter.im/e/6123573504759330786b
  42. on_success: change # options: [always|never|change] default: always
  43. on_failure: never # options: [always|never|change] default: always
  44. on_start: never # options: [always|never|change] default: always
  45. on_cancel: never # options: [always|never|change] default: always
  46. on_error: never # options: [always|never|change] default: always
  47. email: false