wp-cli / scaffold-package-command

Scaffolds WP-CLI commands with functional tests, full README.md, and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Send Slack notification on build failures when SLACK_WEBHOOK and SLACK_CHANNEL are present

danielbachhuber opened this issue · comments

Travis CI has a nifty cron system that will let us run the test suite against all packages on a nightly basis.

In our scaffolded .travis.yml, we should have some default Slack notification on build failures when the SLACK_WEBHOOK and SLACK_CHANNEL environment variables are present. This will make it easier to be notified when a nightly test run fails on one of the packages.

We've since built a dashboard that includes build statuses for each package. We also have https://github.com/wp-cli/automated-tests. Both of these are sufficient for our needs.