New Saltstack Salt formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. sudo: required
  2. services:
  3. - docker
  4. install:
  5. - pip install PyYAML
  6. - pip install virtualenv
  7. - |
  8. test -e Gemfile || cat <<EOF > Gemfile
  9. source 'https://rubygems.org'
  10. gem 'rake'
  11. gem 'test-kitchen'
  12. gem 'kitchen-docker'
  13. gem 'kitchen-inspec'
  14. gem 'inspec'
  15. gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git'
  16. - bundle install
  17. env:
  18. - PLATFORM=trevorj/salty-whales:trusty SUITE=minion_default
  19. - PLATFORM=trevorj/salty-whales:xenial SUITE=minion_default
  20. - PLATFORM=trevorj/salty-whales:trusty SUITE=master_default
  21. - PLATFORM=trevorj/salty-whales:xenial SUITE=master_default
  22. - PLATFORM=trevorj/salty-whales:trusty SUITE=minion_default
  23. - PLATFORM=trevorj/salty-whales:xenial SUITE=minion_default
  24. - PLATFORM=trevorj/salty-whales:trusty SUITE=control_default
  25. - PLATFORM=trevorj/salty-whales:xenial SUITE=control_default
  26. - PLATFORM=trevorj/salty-whales:trusty SUITE=minion_multi_master_failover
  27. - PLATFORM=trevorj/salty-whales:xenial SUITE=minion_multi_master_failover
  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