Skip to content
This repository was archived by the owner on Aug 23, 2019. It is now read-only.

Commit

Permalink
feat: use mplex, update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Feb 19, 2018
1 parent 52967cd commit 0f0f314
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 13 deletions.
9 changes: 0 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,16 @@ language: node_js

matrix:
include:
- node_js: 6
env: CXX=g++-4.8
- node_js: 8
env: CXX=g++-4.8
# - node_js: stable
# env: CXX=g++-4.8

script:
- npm run lint
- npm run test
- npm run coverage

before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start

after_success:
- npm run coverage-publish

addons:
firefox: 'latest'
apt:
Expand Down
7 changes: 7 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ machine:
node:
version: stable

test:
pre:
- npm run lint
post:
- make test
- npm run coverage -- --upload --providers coveralls

dependencies:
pre:
- google-chrome --version
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
"npm": ">=3.0.0"
},
"devDependencies": {
"aegir": "^12.4.0",
"aegir": "^13.0.1",
"buffer-loader": "0.0.1",
"chai": "^4.1.2",
"dirty-chai": "^2.0.1",
"gulp": "^3.9.1",
"libp2p-multiplex": "~0.5.1",
"libp2p-mplex": "~0.6.0",
"libp2p-secio": "~0.9.2",
"libp2p-spdy": "~0.11.0",
"libp2p-tcp": "~0.11.5",
Expand Down
2 changes: 1 addition & 1 deletion test/secio.node.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const expect = chai.expect
chai.use(dirtyChai)
const parallel = require('async/parallel')
const TCP = require('libp2p-tcp')
const multiplex = require('libp2p-multiplex')
const multiplex = require('libp2p-mplex')
const pull = require('pull-stream')
const secio = require('libp2p-secio')
const PeerBook = require('peer-book')
Expand Down
2 changes: 1 addition & 1 deletion test/stream-muxers.node.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ chai.use(dirtyChai)

const parallel = require('async/parallel')
const TCP = require('libp2p-tcp')
const multiplex = require('libp2p-multiplex')
const multiplex = require('libp2p-mplex')
const spdy = require('libp2p-spdy')
const pull = require('pull-stream')
const PeerBook = require('peer-book')
Expand Down

0 comments on commit 0f0f314

Please sign in to comment.