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

.travis.yml 1.3KB

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