Ci-alarm is a node.js slack bot to help you to communicate with Travis CI.
With this bot you can :
- Get in yor slack chat all the info about your Travis Ci and repositories
- Restart Build
- Turn on a light alarm through GPIO of the Raspberry Pi when your Travis build fail
- Create a new bot integration
- Choose between One-Click Heroku or Manual Heroku
-
One-Click Heroku Click this button:
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
-
Manual Heroku
- Install Heroku toolbelt
- Create a new bot integration (as above)
heroku create
heroku config:set TOKEN_SLACK=[Your Slack bot integration token (obtainable at https://my.slack.com/services/new/bot)]
heroku config:set TOKEN_GITHUB=[Your Git hub private token bot integration token (obtainable at https://github.com/settings/tokens) scope needed repo and user]
heroku config:set TOKEN_TRAVIS=[Your Travis token (obtainable at https://travis-ci.org/profile/{your_username})]
git push heroku master
- Have fun Once the bot is running see the documentation for the Command list
-
To show the command list
@BotName command list
or@BotName help
-
To show the repository status
@BotName status "[repository name|repository slugName]"
-
To show the repository list
@BotName repository list
-
To run a build a project on Travis
@BotName build "[repository name|repository slugName]"
-
To view the build history of a project
@BotName history "[repository name|repository slugName]"
-
To view info about a project
@BotName info "[repository name|repository slugName]"
-
To view the status about all your repository
@BotName report
-
To switch on/off the alarm light if you install ci-alarm on a raspberry pi
@BotName alarm on/off
<div align="left" width="20%" >
<img title="ci alarm light alarm schema components" src='doc/img/raspberry-pi-logo.png' width="70px" height="80px" />
</div>
-
To test ci-alarm
$ npm run-script test
-
To debug ci-alarm
$ npm run-script debug
-
To see the test coverage ci-alarm
$ npm run-script coverage
-
To run ci-alarm on your machine
$ npm run-script start
- Fork it!
- Create your feature branch:
git checkout -b ci-alarm
- Commit your changes:
git commit -a
- Push to the branch:
git push origin ci-alarm
- Submit a pull request
For detailed changelog, check Releases.
Contributor | GitHub profile | Twitter profile |
---|---|---|
Eugenio Romano (Creator) | eromano | @RomanoEugenio |