Telegram bot, which will notify you each time, when your Travis CI build is done.
To start using this bot send him message
You can type /help
or /how
to get more useful information about how it works.
You should send the link to your Travis CI repository like https://travis-ci.org/emberjs/ember.js. After that, a bot will listen for new builds and will notify you each time when your build is done.
When you sending your Travis CI repository link, bot making the HTTP request to get the current state of build. Then it storing number of current build and then creating a new variable with the same value. Then it making new HTTP request each 7 seconds to get current information, and then it's parsing JSON and assigning a current number of build to currBuiltNumber
. If currBuiltNumber
number equal prevBuiltNumber
, then nothing has been changed. Else it's checking if a build has been done by getting a value of last_build_finished_at
. If last_build_finished_at
does not equal null
then it means that new build just has been finished and it will send you a message with some basic information about your build.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am "Add some feature"
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
If you find any issues, please feel free to contribute to repository issues
This bot is posted on heroku.