add travis condition to only send notifications for master branch
diff --git a/.travis.yml b/.travis.yml
index 6d3fde4..b8e871d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,7 +2,7 @@
services:
- docker
-
+install:
- pip install PyYAML
- pip install virtualenv
- |
@@ -18,9 +18,11 @@
#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 @@
- test ! -e .kitchen.yml || bundle exec kitchen test -t tests/integration
notifications:
+ on:
+ branch: master
webhooks:
urls:
- https://webhooks.gitter.im/e/6123573504759330786b