Ver código fonte

add travis condition to only send notifications for master branch

pull/9/head
Martin819 7 anos atrás
pai
commit
054f300a2b
1 arquivos alterados com 5 adições e 1 exclusões
  1. +5
    -1
      .travis.yml

+ 5
- 1
.travis.yml Ver arquivo

@@ -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

Carregando…
Cancelar
Salvar