浏览代码

add travis condition to only send notifications for master branch

master
Martin819 7 年前
父节点
当前提交
e07d0a9bf7
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. +5
    -1
      .travis.yml

+ 5
- 1
.travis.yml 查看文件

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

正在加载...
取消
保存