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

47 行
1.2KB

  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=trevorj/salty-whales:trusty
  23. - PLATFORM=trevorj/salty-whales:xenial
  24. before_script:
  25. - set -o pipefail
  26. - make test | tail
  27. script:
  28. - test ! -e .kitchen.yml || bundle exec kitchen converge || true
  29. - test ! -e .kitchen.yml || bundle exec kitchen verify -t tests/integration
  30. notifications:
  31. webhooks:
  32. urls:
  33. - https://webhooks.gitter.im/e/6123573504759330786b
  34. on_success: change # options: [always|never|change] default: always
  35. on_failure: never # options: [always|never|change] default: always
  36. on_start: never # options: [always|never|change] default: always
  37. on_cancel: never # options: [always|never|change] default: always
  38. on_error: never # options: [always|never|change] default: always
  39. email: false