js-libp2p-websockets/.travis.yml

47 lines
872 B
YAML
Raw Normal View History

2019-04-15 17:44:04 +01:00
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:
2019-04-24 18:28:29 +01:00
- 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
2019-04-15 17:44:04 +01:00
- stage: check
script:
- 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
- stage: test
name: firefox
addons:
firefox: latest
script:
- npx aegir test -t browser -- --browsers FirefoxHeadless
notifications:
email: false