blob: bc2d5569c4f1a94676620a7f049ecc1d04911c75 [file] [log] [blame]
Petr Michalec579e64d2017-03-24 12:54:29 +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-vagrant'
15 gem 'kitchen-inspec'
16 gem 'inspec'
17 gem 'kitchen-salt', :git => 'https://github.com/epcim/kitchen-salt.git', :branch => 'dependencis-pkg-repo2'
18 #Waiting for PR#78
19 #gem 'kitchen-salt', '>=0.2.25'
20 - bundle install
21
22env:
23 matrix:
24 - SUITE=analytics
25 - SUITE=control
26 - SUITE=cluster
27 - SUITE=single
28 #- SUITE=vendor-juniper
29 #- SUITE=tor
30 #- SUITE=vrouter_kubernetes
31 #- SUITE=vrouter
32 #- PLATFORM=trevorj/salty-whales:xenial SUITE=analytics
33 #- PLATFORM=trevorj/salty-whales:xenial SUITE=control
34 #- PLATFORM=trevorj/salty-whales:xenial SUITE=cluster
35 #...
36
37before_script:
38 - make test | tail
39
40script:
41 - test ! -e .kitchen.yml || bundle exec kitchen verify $SUITE
42