Wordpress/appveyor.yml
Gary Pendergast e8781736ed 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
2019-01-15 04:50:03 +00:00

34 lines
724 B
YAML

environment:
matrix:
- nodejs_version: 10.13.0
clone_depth: 3
branches:
only:
- master
install:
- ps: Install-Product node $env:nodejs_version
- npm install npm -g
- npm install grunt-cli -g
- npm install
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}}