Skip to content

Commit

Permalink
build: add Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed May 28, 2014
1 parent d8f62d8 commit 7ce33be
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions .npmignore
@@ -1,3 +1,4 @@
test
examples
.travis.yml
*.sock
10 changes: 10 additions & 0 deletions .travis.yml
@@ -0,0 +1,10 @@
language: node_js
node_js:
- "0.8"
- "0.10"
- "0.11"
matrix:
allow_failures:
- node_js: "0.11"
fast_finish: true
script: "npm run-script test-travis"
2 changes: 2 additions & 0 deletions Readme.md
@@ -1,5 +1,7 @@
# send

[![Build Status](https://travis-ci.org/visionmedia/send.svg?branch=master)](https://travis-ci.org/visionmedia/send)

Send is Connect's `static()` extracted for generalized use, a streaming static file
server supporting partial responses (Ranges), conditional-GET negotiation, high test coverage, and granular events which may be leveraged to take appropriate actions in your application or framework.

Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -21,7 +21,8 @@
"connect": "2.x"
},
"scripts": {
"test": "mocha --require should --reporter spec --bail"
"test": "mocha --reporter dot",
"test-travis": "mocha --reporter spec"
},
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions test/send.js
Expand Up @@ -5,6 +5,7 @@ var http = require('http');
var path = require('path');
var request = require('supertest');
var send = require('..')
var should = require('should');
var Stream = require('stream');

// test server
Expand Down

0 comments on commit 7ce33be

Please sign in to comment.