mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
travis.yml: travis buddy (#45327)
* .travis.yml: travis buddy * .travis.yml: on_failure only * sync_templates_and_ci: add travis buddy template
This commit is contained in:
+4
-1
@@ -37,6 +37,9 @@ notifications:
|
||||
webhooks:
|
||||
urls:
|
||||
- "https://webhooks.gitter.im/e/712d699360b239db14a5"
|
||||
on_success: change
|
||||
- "https://www.travisbuddy.com/"
|
||||
on_success: never
|
||||
on_failure: always
|
||||
on_start: never
|
||||
on_cancel: never
|
||||
on_error: never
|
||||
|
||||
@@ -31,7 +31,7 @@ function copy_templates_and_ci {
|
||||
local repo_name
|
||||
|
||||
repo_name="${1}"
|
||||
rsync --archive --delete "${main_repo_dir}"/{.editorconfig,.gitattributes,.github,.gitignore,.travis.yml,ci,CODE_OF_CONDUCT.md} '.'
|
||||
rsync --archive --delete "${main_repo_dir}"/{.editorconfig,.gitattributes,.github,.gitignore,.travis.yml,ci,CODE_OF_CONDUCT.md,travis-buddy-failure-template.md} '.'
|
||||
/usr/bin/sed -i '' -E "s:homebrew-cask/(pulls|issues):${repo_name}/\1:" '.github/PULL_REQUEST_TEMPLATE.md' # PULL_REQUEST_TEMPLATE has repo-specific links
|
||||
|
||||
# increase script.sh install cap for fonts repo
|
||||
|
||||
Reference in New Issue
Block a user