Flink/lita-gitlab-ci-hipchat

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# lita-gitlab-ci-hipchat

[![Gem Version](https://badge.fury.io/rb/lita-gitlab-ci-hipchat.svg)](http://badge.fury.io/rb/lita-gitlab-ci-hipchat) [![Build Status](https://travis-ci.org/Flink/lita-gitlab-ci-hipchat.svg?branch=develop)](https://travis-ci.org/Flink/lita-gitlab-ci-hipchat) [![Coverage Status](https://coveralls.io/repos/Flink/lita-gitlab-ci-hipchat/badge.png?branch=develop)](https://coveralls.io/r/Flink/lita-gitlab-ci-hipchat?branch=develop) [![Code Climate](https://codeclimate.com/github/Flink/lita-gitlab-ci-hipchat/badges/gpa.svg)](https://codeclimate.com/github/Flink/lita-gitlab-ci-hipchat) [![Dependency Status](https://gemnasium.com/Flink/lita-gitlab-ci-hipchat.svg)](https://gemnasium.com/Flink/lita-gitlab-ci-hipchat)

Receive and display nicely web hooks from GitLab CI in HipChat.

## Installation

Add lita-gitlab-ci-hipchat to your Lita instance's Gemfile:

``` ruby
gem 'lita-gitlab-ci-hipchat', '~> 1.1'
```


For Lita 3.x, use the 1.0 version of this gem.

## Configuration

```ruby
Lita.configure do |config|
  # The API token for your bot’s user
  config.handlers.gitlab_ci_hipchat.api_token = 'token'
  # The room to be notified (HipChat name, not JID)
  config.handlers.gitlab_ci_hipchat.room = 'my_room'
end
```

## Usage

This handler add a HTTP route at `/gitlab-ci`. So you have to add a web
hook pointing to that URL in GitLab CI (http://lita-bot.tld/gitlab-ci).

## License

[MIT](http://opensource.org/licenses/MIT)