blob: 9046c794ba89e0032257296b0f54cd975a6b398e [file] [log] [blame]
Martin8191d6f0a82017-03-17 17:38:11 +01001sudo: 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'
16 gem 'kitchen-salt', :git => 'https://github.com/epcim/kitchen-salt.git', :branch => 'dependencis-pkg-repo2'
17 #Waiting for PR#78
18 #gem 'kitchen-salt', '>=0.2.25'
19 - bundle install
20
21env:
22 - PLATFORM=trevorj/salty-whales:trusty
23 - PLATFORM=trevorj/salty-whales:xenial
24
25before_script:
Martin819f7613e42017-03-28 09:40:12 +020026 - set -o pipefail
27 - make test | tail
Martin8191d6f0a82017-03-17 17:38:11 +010028
29script:
30 - test ! -e .kitchen.yml || bundle exec kitchen test -t tests/integration