Setup travis

This commit is contained in:
dignifiedquire 2015-07-31 18:02:38 +02:00
parent 13659ecb40
commit a73066b10b
3 changed files with 16 additions and 2 deletions

14
.travis.yml Normal file
View File

@ -0,0 +1,14 @@
sudo: false
language: node_js
node_js:
- "iojs"
- "0.12"
- "0.10"
# Make sure we have new NPM.
before_install:
- npm install -g npm
script:
- npm run lint
- npm test

View File

@ -1,7 +1,7 @@
ipfs-swarm Node.js implementation
=================================
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io) [![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/) [![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io) [![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/) [![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs) [![Build Status](https://img.shields.io/travis/diasdavid/node-ipfs-swarm/master.svg?style=flat-square)](https://travis-ci.org/diasdavid/node-ipfs-swarm)
> IPFS swarm implementation in Node.js

View File

@ -7,7 +7,7 @@
"test": "./node_modules/.bin/lab tests/*-test.js",
"coverage": "./node_modules/.bin/lab -t 100 tests/*-test.js",
"codestyle": "./node_modules/.bin/standard --format",
"lint": "jshint .",
"lint": "./node_modules/.bin/standard",
"validate": "npm ls"
},
"repository": {