123456789101112131415161718192021222324252627282930313233 |
- language: node_js
- notifications:
- email: false
- services:
- - docker
- node_js:
- - 12
- - 10
- # Trigger a push build on master and greenkeeper branches + PRs build on every branches
- # Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147)
- branches:
- only:
- - master
- - /^greenkeeper.*$/
- # Retry install on fail to avoid failing a build on network/disk/external errors
- install:
- - travis_retry npm install
- script:
- - npm run test
- jobs:
- include:
- - stage: release
- if: branch = master
- node_js: lts/*
- script:
- - npm run semantic-release
|