mirror of
https://github.com/fluencelabs/js-mafmt
synced 2025-04-24 19:02:29 +00:00
As multiaddr now defaults to using /p2p over /ipfs we no longer need the logic for both. /ipfs is still supported as demonstrated in the tests.
43 lines
704 B
YAML
43 lines
704 B
YAML
language: node_js
|
|
cache: npm
|
|
stages:
|
|
- check
|
|
- test
|
|
- cov
|
|
|
|
node_js:
|
|
- '12'
|
|
- '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 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
|