Martin819 | a45fa09 | 2017-02-11 12:16:20 +0100 | [diff] [blame] | 1 | sudo: required |
| 2 | services: |
| 3 | - docker |
| 4 | |
| 5 | install: |
| 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 | |
| 21 | before_script: |
Martin819 | dadd3e2 | 2017-03-28 08:05:33 +0200 | [diff] [blame^] | 22 | - set -o pipefail |
| 23 | - make test | tail |
Martin819 | a45fa09 | 2017-02-11 12:16:20 +0100 | [diff] [blame] | 24 | |
| 25 | script: |
| 26 | - test ! -e .kitchen.yml || bundle exec kitchen test |