js-libp2p-crypto/.travis.yml

50 lines
767 B
YAML
Raw Normal View History

language: node_js
cache: npm
2021-04-07 11:41:08 +02:00
branches:
only:
- master
- /^release\/.*$/
stages:
- check
- test
- cov
node_js:
2021-04-07 11:41:08 +02:00
- 'lts/*'
- 'node'
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:
2021-04-07 11:41:08 +02:00
- npx aegir build --no-types
- npx aegir dep-check
- 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