scratch-analysis/.travis.yml
rschamp 7e5150c0ca feat(semantic-release): set up deployment with semantic release
Install and configure commitlint
Configure semantic release to deploy in an additional stage, if on the develop branch
2021-08-06 16:03:11 -04:00

23 lines
No EOL
336 B
YAML

language: node_js
node_js:
- 8
- 10
- node
cache:
directories:
- node_modules
script:
- commitlint-travis
- npm test
jobs:
include:
- stage: release
node_js: 10
script: echo deploying...
deploy:
- provider: script
script: npx semantic-release
stages:
- test
- name: release
if: branch = develop