mirror of
https://github.com/fluencelabs/js-libp2p-websockets
synced 2025-04-25 14:22:30 +00:00
Merge branch 'master' into refactor/async-iterators
This commit is contained in:
commit
647fa4fcff
41
.travis.yml
Normal file
41
.travis.yml
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
language: node_js
|
||||||
|
cache: npm
|
||||||
|
stages:
|
||||||
|
- check
|
||||||
|
- test
|
||||||
|
- cov
|
||||||
|
|
||||||
|
node_js:
|
||||||
|
- '10'
|
||||||
|
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
- osx
|
||||||
|
|
||||||
|
script: npx nyc -s npm run test:node -- --bail
|
||||||
|
after_success: npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
include:
|
||||||
|
- stage: check
|
||||||
|
script:
|
||||||
|
- npx aegir commitlint --travis
|
||||||
|
- npx aegir dep-check -- -i wrtc -i electron-webrtc
|
||||||
|
- npm run lint
|
||||||
|
|
||||||
|
- stage: test
|
||||||
|
name: chrome
|
||||||
|
addons:
|
||||||
|
chrome: stable
|
||||||
|
script:
|
||||||
|
- npx aegir test -t browser
|
||||||
|
|
||||||
|
- stage: test
|
||||||
|
name: firefox
|
||||||
|
addons:
|
||||||
|
firefox: latest
|
||||||
|
script:
|
||||||
|
- npx aegir test -t browser -- --browsers FirefoxHeadless
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
email: false
|
@ -3,6 +3,7 @@
|
|||||||
[](http://ipn.io)
|
[](http://ipn.io)
|
||||||
[](http://ipfs.io/)
|
[](http://ipfs.io/)
|
||||||
[](http://webchat.freenode.net/?channels=%23ipfs)
|
[](http://webchat.freenode.net/?channels=%23ipfs)
|
||||||
|
[](https://discuss.libp2p.io)
|
||||||
[](https://coveralls.io/github/libp2p/js-libp2p-websockets?branch=master)
|
[](https://coveralls.io/github/libp2p/js-libp2p-websockets?branch=master)
|
||||||
[](https://travis-ci.org/libp2p/js-libp2p-websockets)
|
[](https://travis-ci.org/libp2p/js-libp2p-websockets)
|
||||||
[](https://circleci.com/gh/libp2p/js-libp2p-websockets)
|
[](https://circleci.com/gh/libp2p/js-libp2p-websockets)
|
||||||
|
10
package.json
10
package.json
@ -44,20 +44,20 @@
|
|||||||
"async-iterator-to-pull-stream": "^1.3.0",
|
"async-iterator-to-pull-stream": "^1.3.0",
|
||||||
"class-is": "^1.1.0",
|
"class-is": "^1.1.0",
|
||||||
"debug": "^4.1.1",
|
"debug": "^4.1.1",
|
||||||
"interface-connection": "~0.3.2",
|
"interface-connection": "~0.3.3",
|
||||||
"it-ws": "^2.1.0",
|
"it-ws": "^2.1.0",
|
||||||
"mafmt": "^6.0.4",
|
"mafmt": "^6.0.7",
|
||||||
"multiaddr-to-uri": "^4.0.1"
|
"multiaddr-to-uri": "^4.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"abort-controller": "^3.0.0",
|
"abort-controller": "^3.0.0",
|
||||||
"aegir": "^18.0.3",
|
"aegir": "^18.2.1",
|
||||||
"chai": "^4.1.2",
|
"chai": "^4.2.0",
|
||||||
"dirty-chai": "^2.0.1",
|
"dirty-chai": "^2.0.1",
|
||||||
"interface-transport": "github:libp2p/interface-transport#feat/async-await",
|
"interface-transport": "github:libp2p/interface-transport#feat/async-await",
|
||||||
"it-goodbye": "^2.0.0",
|
"it-goodbye": "^2.0.0",
|
||||||
"it-pipe": "^1.0.0",
|
"it-pipe": "^1.0.0",
|
||||||
"multiaddr": "^6.0.3",
|
"multiaddr": "^6.0.6",
|
||||||
"pull-goodbye": "0.0.2",
|
"pull-goodbye": "0.0.2",
|
||||||
"pull-serializer": "~0.3.2",
|
"pull-serializer": "~0.3.2",
|
||||||
"pull-stream": "^3.6.9",
|
"pull-stream": "^3.6.9",
|
||||||
|
@ -253,7 +253,8 @@ describe('dial', () => {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('ip6', () => {
|
// TODO: https://github.com/libp2p/js-libp2p-websockets/issues/84
|
||||||
|
describe.skip('ip6', () => {
|
||||||
let ws
|
let ws
|
||||||
let listener
|
let listener
|
||||||
const ma = multiaddr('/ip6/::1/tcp/9091')
|
const ma = multiaddr('/ip6/::1/tcp/9091')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user