Browse Source

add travis condition to only send notifications for master branch

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

+ 5
- 1
.travis.yml View File

@@ -2,7 +2,7 @@ sudo: required
services:
- docker

install:
- pip install PyYAML
- pip install virtualenv
- |
@@ -18,9 +18,11 @@ services:
#gem 'kitchen-salt', '>=0.2.25'
- bundle install

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


before_script:
- set -o pipefail
- make test | tail
@@ -29,6 +31,8 @@ script:
- test ! -e .kitchen.yml || bundle exec kitchen test -t tests/integration

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

Loading…
Cancel
Save