Saltstack Official Linux 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.

.travis.yml 809B

1234567891011121314151617181920212223242526272829303132333435
  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/epcim/kitchen-salt.git', :branch => 'dependencis-pkg-repo2'
  20. #Waiting for PR#78
  21. #gem 'kitchen-salt', '>=0.2.25'
  22. - bundle install
  23. env:
  24. - PLATFORM=trevorj/salty-whales:trusty
  25. - PLATFORM=trevorj/salty-whales:xenial
  26. before_script:
  27. - make test | tail
  28. script:
  29. - test ! -e .kitchen.yml || bundle exec kitchen converge || true
  30. - test ! -e .kitchen.yml || bundle exec kitchen verify -t tests/integration