.travis.yml
language: node_js
branches:
only:
- master
- /^greenkeeper/.*$/
- /^mkpr/.*$/
- /^npm-template-sync/.*$/
notifications:
email:
- torstenlink@gmx.de
jobs:
include:
- stage: docs
node_js: lts/*
skip_cleanup: 'true'
script:
- npm install -g --production coveralls codecov
- npm run cover
- codecov
- cat ./coverage/lcov.info | coveralls
- npm run lint
- npm run docs
- stage: test
node_js:
- 12.13.0
script:
- npm run cover
- npx codecov
- cat ./build/coverage/lcov.info | npx coveralls
- stage: doc
node_js: lts/*
skip_cleanup: 'true'
script:
- npm run lint
- npm run docs
- stage: release
node_js: lts/*
script: skip
deploy:
provider: script
skip_cleanup: 'true'
script:
- npx semantic-release