|
123456789101112131415161718192021222324252627282930 |
- sudo: required
- services:
- - docker
-
- install:
- - pip install PyYAML
- - pip install virtualenv
- - |
- test -e Gemfile || cat <<EOF > Gemfile
- source 'https://rubygems.org'
- gem 'rake'
- gem 'test-kitchen'
- gem 'kitchen-docker'
- gem 'kitchen-inspec'
- gem 'inspec'
- gem 'kitchen-salt', :git => 'https://github.com/epcim/kitchen-salt.git', :branch => 'dependencis-pkg-repo2'
- #Waiting for PR#78
- #gem 'kitchen-salt', '>=0.2.25'
- - bundle install
-
- env:
- - PLATFORM=trevorj/salty-whales:trusty
- - PLATFORM=trevorj/salty-whales:xenial
-
- before_script:
- - make test | tail
-
- script:
- - test ! -e .kitchen.yml || bundle exec kitchen converge || true
- - test ! -e .kitchen.yml || bundle exec kitchen verify -t tests/integration
|