From e8781736ede865275ef35f96bf96943b7bc72d45 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Tue, 15 Jan 2019 04:50:03 +0000 Subject: [PATCH] Build Tools: Tweak AppVeyor settings. - Set `grunt build` as the build script - Disable testing and deployment options - Customise the Slack integration message - Only show the Slack message when the status changes See #44276. git-svn-id: https://develop.svn.wordpress.org/trunk@44595 602fd350-edb4-49c9-b593-d223f7449a82 --- appveyor.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 2cef044413..4c64fe47bf 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,13 +14,20 @@ install: - npm install grunt-cli -g - npm install - -test_script: +before_build: - node --version - npm --version + +build_script: - cmd: "grunt build" +test: off + +deploy: off + notifications: - provider: Slack incoming_webhook: secure: CmhfxrWwgtwzO/kXoZWXRUB/Jh05AQ7DvOhToqtpm6dN1wBDp9+VnNqxldpv34uPd09vuUk4Nu/NQFkIswuZA5NYfIFJIFWqwnZExQFzTBA= + on_build_status_changed: true + template: Build <{{buildUrl}}|#{{buildNumber}}> (<{{commitUrl}}|{{commitId}}>) of {{repositoryName}}@{{branch}} by {{commitAuthor}} {{status}} in {{duration}}