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

metalabdesign / http-middleware-metalab / 215
96%
master: 97%

Build:
Build:
LAST BUILD BRANCH: midori
DEFAULT BRANCH: master
Ran 02 Feb 2016 10:32AM UTC
Jobs 3
Files 29
Run time 1min
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

pending completion
215

push

travis-ci

izaakschroeder
Add `serve` middleware for static content.

A simple static file server is now easy as:

```javascript
const createApp = compose(
  verbs.get('/foo', serve({ root: __dirname })),
  compose(status(404), send()),
);
```

Tests aren't great right now, but they'll do the job.

390 of 405 relevant lines covered (96.3%)

9.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 215.1 02 Feb 2016 10:33AM UTC 0
96.14
Travis Job 215.1
2 215.2 02 Feb 2016 10:33AM UTC 0
96.3
Travis Job 215.2
3 215.3 02 Feb 2016 10:32AM UTC 0
96.3
Travis Job 215.3
Source Files on build 215
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #215
  • 5b3ade36 on github
  • Prev Build on send (#188)
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