Kaynağa Gözat

add travis condition to only send notifications for master branch

pull/7/head
Martin819 7 yıl önce
ebeveyn
işleme
e07d0a9bf7
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. +5
    -1
      .travis.yml

+ 5
- 1
.travis.yml Dosyayı Görüntüle

services: services:
- docker - docker


install:
- pip install PyYAML - pip install PyYAML
- pip install virtualenv - pip install virtualenv
- | - |
#gem 'kitchen-salt', '>=0.2.25' #gem 'kitchen-salt', '>=0.2.25'
- bundle install - bundle install


env:
- PLATFORM=trevorj/salty-whales:trusty - PLATFORM=trevorj/salty-whales:trusty
- PLATFORM=trevorj/salty-whales:xenial - PLATFORM=trevorj/salty-whales:xenial



before_script: before_script:
- set -o pipefail - set -o pipefail
- make test | tail - make test | tail
- test ! -e .kitchen.yml || bundle exec kitchen test -t tests/integration - test ! -e .kitchen.yml || bundle exec kitchen test -t tests/integration


notifications: notifications:
on:
branch: master
webhooks: webhooks:
urls: urls:
- https://webhooks.gitter.im/e/6123573504759330786b - https://webhooks.gitter.im/e/6123573504759330786b

Yükleniyor…
İptal
Kaydet