Saltstack Official Home Assistant Formula
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

.travis.yml 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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:xenial
  23. - PLATFORM=trevorj/salty-whales:bionic
  24. before_script:
  25. - set -o pipefail
  26. - make test | tail
  27. - reno lint $PWD | tail
  28. script:
  29. - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
  30. - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -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