• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kittoframework / kitto / 183 / 1
87%
master: 89%

Build:
Build:
LAST BUILD BRANCH: v0.9.2
DEFAULT BRANCH: master
Ran 22 Nov 2016 05:10AM UTC
Files 16
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Nov 2016 05:04AM UTC coverage: 82.938% (+2.0%) from 80.905%
183.1

push

travis-ci

davejlong
Add webhook support

Webhooks are enabled through the `/hooks` route. Building hooks, similar
to jobs, is as easy as putting a file in the `hooks/` directory in a
Kitto project. The Hook API is very simple and similar to the
`Plug.Route` DSL building routes:

```elixir
use Kitto.Hooks.DSL

hook :github do
  {:ok, body, _} = read_body conn
  commits = GitHub.parse_commits_from_hook(body)
  broadcast! :github_commits, %{commits: commits}
end
```

The hook above generates a route at `/hooks/github` listening on all
HTTP methods. Hooks include both the `conn` object that routes include
as well as `broadcast!/2` to broadcast events to dashboards.

175 of 211 relevant lines covered (82.94%)

8.11 hits per line

Source Files on job 183.1
  • Tree
  • List 0
  • Changed 9
  • Source Changed 5
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 183
  • Travis Job 183.1
  • e96becea on github
  • Prev Job for on hooks (#181.1)
  • Next Job for on hooks (#185.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc