HipChat Notifications

Deep in the bowels of the Travis code base, it remained hidden for two months before we finally decided to bring it up to the light and write a blog post about it: HipChat build notifications!

Just add the following line to your .travis.yml, and Bob’s your uncle:

notifications:
  hipchat: [api token]@[room name]

HipChat has something nice going for it: you can set the background of a particular message. So we can set the background to green or red depending on the build status. Neat!

Needless to say, this feature is available on both Travis platforms, open source and for private repositories.