Просмотр исходного кода

add travis condition to only send notifications for master branch

pull/8/head
Martin819 7 лет назад
Родитель
Сommit
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

Загрузка…
Отмена
Сохранить