mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-03-16 15:40:49 +00:00
* fix: bundle-size * fix: feedback * fix: lint * chore: update deps * fix: add bundle size check and update deps * fix: fix badges * fix: add once to package.json * fix: fix config validation
44 lines
869 B
YAML
44 lines
869 B
YAML
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 build --bundlesize
|
|
- 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
|
|
- npx aegir test -t webworker
|
|
|
|
- stage: test
|
|
name: firefox
|
|
addons:
|
|
firefox: latest
|
|
script:
|
|
- npx aegir test -t browser -- --browsers FirefoxHeadless
|
|
- npx aegir test -t webworker -- --browsers FirefoxHeadless
|
|
|
|
notifications:
|
|
email: false |