mirror of https://github.com/mpv-player/mpv
travis: DRY up the yaml file
Use YAML's anchor/reference syntax to DRY up the YAML file. Also fix a bug that caused the IRC notification to always take place (even on success).
This commit is contained in:
parent
5589412b3c
commit
89fc8326b9
12
.travis.yml
12
.travis.yml
|
@ -14,16 +14,16 @@ branches:
|
|||
before_install: ./travis-deps libass-stable $LIBAV
|
||||
script: ./configure && make
|
||||
|
||||
notifications-policy: ¬ifications-policy
|
||||
on_success: change
|
||||
n_failure: always
|
||||
|
||||
notifications:
|
||||
email:
|
||||
recipients:
|
||||
- mpv-team@googlegroups.com
|
||||
email:
|
||||
on_success: change
|
||||
n_failure: always
|
||||
<<: *notifications-policy
|
||||
irc:
|
||||
channels:
|
||||
- "irc.freenode.org#mpv-player-dev"
|
||||
email:
|
||||
on_success: change
|
||||
n_failure: always
|
||||
<<: *notifications-policy
|
||||
|
|
Loading…
Reference in New Issue