Saltstack Official IPTables Formula
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

.travis.yml 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=iptables-server
  19. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=iptables-server
  20. - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=iptables-server
  21. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=iptables-server
  22. # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=iptables-server
  23. before_script:
  24. - set -o pipefail
  25. - make test | tail
  26. script:
  27. - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
  28. - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
  29. notifications:
  30. on:
  31. branch: master
  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