mirror of
https://github.com/fluencelabs/js-libp2p-websockets
synced 2025-04-24 23:42:27 +00:00
BREAKING CHANGE: Switch to using async/await and async iterators. The transport and connection interfaces have changed. See the README for new usage.
47 lines
871 B
YAML
47 lines
871 B
YAML
language: node_js
|
|
cache: npm
|
|
stages:
|
|
- check
|
|
- test
|
|
- cov
|
|
|
|
node_js:
|
|
- '10'
|
|
|
|
script: npx nyc -s npm run test:node -- --bail
|
|
after_success: npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov
|
|
|
|
jobs:
|
|
include:
|
|
- os: linux
|
|
sudo: false
|
|
before_script: sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'
|
|
|
|
- os: windows
|
|
cache: false
|
|
|
|
- os: osx
|
|
|
|
- stage: check
|
|
script:
|
|
- npx aegir build --bundlesize
|
|
- 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
|