Quellcode durchsuchen

add travis condition to only send notifications for master branch

pull/8/head
Martin819 vor 7 Jahren
Ursprung
Commit
6e775a941e
1 geänderte Dateien mit 4 neuen und 7 gelöschten Zeilen
  1. +4
    -7
      .travis.yml

+ 4
- 7
.travis.yml Datei anzeigen

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

Laden…
Abbrechen
Speichern