ソースを参照

add travis condition to only send notifications for master branch

pull/8/head
Martin819 7年前
コミット
6e775a941e
1個のファイルの変更4行の追加7行の削除
  1. +4
    -7
      .travis.yml

+ 4
- 7
.travis.yml ファイルの表示

@@ -30,6 +30,8 @@ before_script:
script:
- test ! -e .kitchen.yml || bundle exec kitchen test -t tests/integration

if [[ TRAVIS_BRANCH = master ]]; then

notifications:
webhooks:
urls:
@@ -39,10 +41,5 @@ notifications:
on_start: never # options: [always|never|change] default: always
on_cancel: never # options: [always|never|change] default: always
on_error: always # options: [always|never|change] default: always

email: true
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
on_cancel: never # options: [always|never|change] default: always
on_error: always # options: [always|never|change] default: always
; fi

読み込み中…
キャンセル
保存