js-mafmt/.travis.yml
Vasco Santos 1479f6ad2c
chore: update deps (#46)
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.
2019-09-11 19:47:54 +02:00

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