diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..2bd8b0e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +sudo: false +language: node_js +node_js: + - "4.0" + +# Make sure we have new NPM. +before_install: + - npm install -g npm + +script: + - npm test diff --git a/README.md b/README.md index 96e7c66..b793254 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,9 @@ node-libp2p-tcp [![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io) [[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs) ![Build Status](https://travis-ci.org/diasdavid/node-libp2p-tcp.svg?style=flat-square)](https://travis-ci.org/diasdavid/node-libp2p-tcp) ![](https://img.shields.io/badge/coverage-%3F-yellow.svg?style=flat-square) [![Dependency Status](https://david-dm.org/diasdavid/node-libp2p-tcp.svg?style=flat-square)](https://david-dm.org/diasdavid/node-libp2p-tcp) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard) +![](https://raw.githubusercontent.com/diasdavid/abstract-connection/master/img/badge.png) +![](https://raw.githubusercontent.com/diasdavid/abstract-transport/master/img/badge.png) + > Node.js implementation of the TCP module that libp2p uses, which implements the [abstract-connection]() interface for dial/listen. note: libp2p-tcp in Node.js is a very thin shim that adds the support to dial to a `multiaddr`. This small shim will enable libp2p to use other different transports.