diff --git a/.travis.yml b/.travis.yml index dc01dc2..bec3772 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,18 @@ -sudo: false language: node_js +cache: npm +stages: + - check -matrix: - include: - - node_js: 8 - - node_js: 10 - - node_js: stable +node_js: + - '10' -# Make sure we have new NPM. -before_install: - - npm install -g npm +jobs: + include: + - stage: check + script: + - npx aegir commitlint --travis + - npx aegir dep-check + - npm run lint -script: - - npm run lint +notifications: + email: false diff --git a/README.md b/README.md index f8499dc..8c23307 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,14 @@ interface-connection ================== -[![](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) -![](https://img.shields.io/badge/npm-%3E%3D3.0.0-orange.svg?style=flat-square) -![](https://img.shields.io/badge/Node.js-%3E%3D4.0.0-orange.svg?style=flat-square) +[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://protocol.ai) +[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/) +[![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p) +[![Discourse posts](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg)](https://discuss.libp2p.io) +[![](https://img.shields.io/codecov/c/github/libp2p/interface-connection.svg?style=flat-square)](https://codecov.io/gh/libp2p/interface-connection) +[![](https://img.shields.io/travis/libp2p/interface-connection.svg?style=flat-square)](https://travis-ci.com/libp2p/interface-connection) +[![Dependency Status](https://david-dm.org/libp2p/interface-connection.svg?style=flat-square)](https://david-dm.org/libp2p/interface-connection) +[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard) This is a test suite and interface you can use to implement a connection. A connection is understood as something that offers mechanism for writing and reading data, back pressure, half and full duplex streams. This module and test suite were heavily inspired by abstract-blob-store and interface-stream-muxer. diff --git a/package.json b/package.json index aff10a0..30a2859 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "pull-defer": "~0.2.3" }, "devDependencies": { - "aegir": "^17.1.1", + "aegir": "^18.2.2", "timed-tape": "~0.1.1" }, "engines": {