libp2p/interop:.travis.yml@0b58b6e
language: node_js
cache: npm
dist: bionic
stages:
- check
- test
- cov
branches:
only:
- master
- /^release\/.*$/
node_js:
- 'lts/*'
- 'node'
os:
- linux
- osx
- windows
matrix:
fast_finish: true
allow_failures:
- os: windows
script: npx aegir test -t node --cov --bail -- --exit
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": "bionic",
"cache": {
"npm": true
},
"stages": [
{
"name": "check"
},
{
"name": "test"
},
{
"name": "cov"
}
],
"branches": {
"only": [
"master",
"/^release\\/.*$/"
]
},
"node_js": [
"lts/*",
"node"
],
"script": [
"npx aegir test -t node --cov --bail -- --exit"
],
"after_success": [
"npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov"
],
"jobs": {
"fast_finish": true,
"allow_failures": [
{
"os": "windows"
}
]
},
"notifications": {
"email": [
{
"enabled": false
}
]
}
}