Browse Source

Merge pull request #37 from Martin819/master

Update .travis.yml and notififcations
pull/20/merge
Filip Pytloun 7 years ago
parent
commit
3cf8ea4f95
1 changed files with 16 additions and 5 deletions
  1. +16
    -5
      .travis.yml

+ 16
- 5
.travis.yml View File

gem 'kitchen-docker' gem 'kitchen-docker'
gem 'kitchen-inspec' gem 'kitchen-inspec'
gem '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'
gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git'
- bundle install - bundle install


env: env:
- PLATFORM=trevorj/salty-whales:trusty
- PLATFORM=trevorj/salty-whales:xenial
- PLATFORM=trevorj/salty-whales:trusty
- PLATFORM=trevorj/salty-whales:xenial



before_script: before_script:
- set -o pipefail
- make test | tail - make test | tail


script: script:
- test ! -e .kitchen.yml || bundle exec kitchen converge || true - test ! -e .kitchen.yml || bundle exec kitchen converge || true
- test ! -e .kitchen.yml || bundle exec kitchen verify - test ! -e .kitchen.yml || bundle exec kitchen verify

notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/6123573504759330786b
on_success: change # options: [always|never|change] default: always
on_failure: never # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
on_cancel: never # options: [always|never|change] default: always
on_error: never # options: [always|never|change] default: always
email: false

Loading…
Cancel
Save