Saltstack Official Linux Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

49 rindas
1.4KB

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