blob: 72b4db9cce6606c2fcb04e0089039eb84c3e8699 [file] [log] [blame]
Martin Polreich48ae3e12017-04-13 10:53:32 +02001sudo: required
2services:
3 - docker
4
5install:
6 - pip install PyYAML
7 - pip install virtualenv
8 - |
9 test -e Gemfile || cat <<EOF > Gemfile
10 source 'https://rubygems.org'
11 gem 'rake'
12 gem 'test-kitchen'
13 gem 'kitchen-docker'
14 gem 'kitchen-inspec'
15 gem 'inspec'
Petr Michalec0d93a222017-05-03 08:29:47 +020016 gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git', :branch => 'master'
Martin Polreich48ae3e12017-04-13 10:53:32 +020017 - bundle install
18
19env:
20 - PLATFORM=trevorj/salty-whales:xenial
21
22before_script:
23 - make test | tail
24
25script:
26 - test ! -e .kitchen.yml || bundle exec kitchen converge || true
27 - test ! -e .kitchen.yml || bundle exec kitchen verify