[wp-trac] [WordPress Trac] #30755: Add Slack notifications to Travis CI
WordPress Trac
noreply at wordpress.org
Tue Jul 28 08:05:35 UTC 2015
#30755: Add Slack notifications to Travis CI
------------------------------+----------------------------
Reporter: nacin | Owner: nacin
Type: enhancement | Status: reopened
Priority: normal | Milestone: WordPress.org
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
------------------------------+----------------------------
Comment (by netweb):
I've a new repo, [https://github.com/ntwb/wordpress-travis WordPress &
Travis CI Playground] for testing the new Travis CI Docker/Ubuntu 14.04
provisioning.
To be performed by a WordPress Slack Administrator:
1. Open https://wordpress.slack.com/messages/core/
2. Click `#core` dropdown and click `Add a service interaction...`
3. You should now have be in a new tab with a URL similar to
`https://wordpress.slack.com/services/new?channel_id=A02BCDEFG`
4. Scroll down to `Travis CI` and click `View`
5. In the `Post to Channel` dropdown select `#core` and click `Add Travis
CI interaction`
6. You should now be at
`https://wordpress.slack.com/services/1234567890?added=1`
7. Copy and paste the code from the `Encrypting your credentials` section
e.g. `travis encrypt "wordpress:AbCdEfGh12JkLm34PqRs56Tu" --add
notifications.slack` to Jorbin via Slack DM
To be performed by Jorbin in a local checkout of
`https://github.com/aaronjorbin/develop.wordpress`
1. In a terminal prompt go to the above checkout
2. `sudo gem install travis`
3. Copy and paste the code sent by Slack DM e.g `travis encrypt
"wordpress:AbCdEfGh12JkLm34PqRs56Tu" --add notifications.slack`
4. Accept the prompt `Detected repository as
aaronjorbin/develop.wordpress, is this correct? |yes| ` by pressing enter
5. Commit the change to `.travis.yml` e.g. https://github.com/ntwb
/wordpress-travis/commit/87d4bf71dc6e06c3881ae408ff19a77c31f69549
6. The result https://travis-ci.org/ntwb/wordpress-travis/builds/72964977
[[Image(https://cldup.com/jirXr_wi7m.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30755#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list