Browse Source

add travis condition to only send notifications for master branch

master
Martin819 7 years ago
parent
commit
054f300a2b
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      .travis.yml

+ 5
- 1
.travis.yml View File

services: services:
- docker - docker


install:
- pip install PyYAML - pip install PyYAML
- pip install virtualenv - pip install virtualenv
- | - |
#gem 'kitchen-salt', '>=0.2.25' #gem 'kitchen-salt', '>=0.2.25'
- bundle install - bundle install


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



before_script: before_script:
- set -o pipefail - set -o pipefail
- make test | tail - make test | tail
- test ! -e .kitchen.yml || bundle exec kitchen test -t tests/integration - test ! -e .kitchen.yml || bundle exec kitchen test -t tests/integration


notifications: notifications:
on:
branch: master
webhooks: webhooks:
urls: urls:
- https://webhooks.gitter.im/e/6123573504759330786b - https://webhooks.gitter.im/e/6123573504759330786b

Loading…
Cancel
Save