Saltstack Official Galera Formula
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

46 lines
1.6KB

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