diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..264f189 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,44 @@ +language: node_js + +cache: npm + +stages: + - check + - test + - cov + +node_js: + - '10' + +os: + - linux + - osx + - windows + +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 + - 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 diff --git a/README.md b/README.md index 759c9be..bbe5e79 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,11 @@ # js-libp2p-secio -[](http://ipn.io) -[](http://ipfs.io/) -[](http://webchat.freenode.net/?channels=%23ipfs) -[](https://github.com/RichardLitt/standard-readme) -[](https://coveralls.io/github/libp2p/js-libp2p-secio?branch=master) -[](https://travis-ci.org/libp2p/js-libp2p-secio) -[](https://circleci.com/gh/libp2p/js-libp2p-secio) +[](http://protocol.ai) +[](http://libp2p.io/) +[](http://webchat.freenode.net/?channels=%23libp2p) +[](https://discuss.libp2p.io) +[](https://codecov.io/gh/libp2p/js-libp2p-secio) +[](https://travis-ci.com/libp2p/js-libp2p-secio) [](https://david-dm.org/libp2p/js-libp2p-secio) [](https://github.com/feross/standard)  diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile deleted file mode 100644 index a7da2e5..0000000 --- a/ci/Jenkinsfile +++ /dev/null @@ -1,2 +0,0 @@ -// Warning: This file is automatically synced from https://github.com/ipfs/ci-sync so if you want to change it, please change it there and ask someone to sync all repositories. -javascript() diff --git a/package.json b/package.json index ae823f8..2908aef 100644 --- a/package.json +++ b/package.json @@ -25,25 +25,28 @@ ], "license": "MIT", "dependencies": { - "async": "^2.6.1", + "async": "^2.6.2", "debug": "^4.1.1", - "interface-connection": "~0.3.2", - "libp2p-crypto": "~0.16.0", - "multihashing-async": "~0.5.2", + "interface-connection": "~0.3.3", + "libp2p-crypto": "~0.16.1", + "multiaddr": "^6.0.6", + "multihashing-async": "~0.6.0", + "once": "^1.4.0", "peer-id": "~0.12.2", "peer-info": "~0.15.1", "protons": "^1.0.1", "pull-defer": "~0.2.3", "pull-handshake": "^1.1.4", - "pull-length-prefixed": "^1.3.1", - "pull-stream": "^3.6.9" + "pull-length-prefixed": "^1.3.2", + "pull-stream": "^3.6.9", + "safe-buffer": "^5.1.2" }, "devDependencies": { - "aegir": "^18.0.3", + "aegir": "^18.2.2", "benchmark": "^2.1.4", "chai": "^4.2.0", "dirty-chai": "^2.0.1", - "libp2p-websockets": "~0.12.1", + "libp2p-websockets": "~0.12.2", "multistream-select": "~0.14.4", "pull-goodbye": "~0.0.2", "pull-pair": "^1.1.0"