mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 07:06:59 +08:00
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:
+6
-6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user