Sfoglia il codice sorgente

add travis condition to only send notifications for master branch

master
Martin819 7 anni fa
parent
commit
054f300a2b
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. +5
    -1
      .travis.yml

+ 5
- 1
.travis.yml Vedi File

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

Loading…
Annulla
Salva