libp2p/js-libp2p-daemon:.travis.yml@88af29c
language: node_js
cache: npm
stages:
- check
- test
- cov
node_js:
- '12'
- '14'
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
- npm run lint
notifications:
email: false
Build Config
{
"language": "node_js",
"os": [
"linux",
"osx",
"windows"
],
"dist": "xenial",
"cache": {
"npm": true
},
"stages": [
{
"name": "check"
},
{
"name": "test"
},
{
"name": "cov"
}
],
"node_js": [
"12",
"14"
],
"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",
"npm run lint"
]
}
]
},
"notifications": {
"email": [
{
"enabled": false
}
]
}
}