1 | language: node_js
|
2 | cache:
|
3 | directories:
|
4 | - ~/.npm
|
5 | notifications:
|
6 | email: false
|
7 | node_js:
|
8 | - '10'
|
9 | - '9'
|
10 | - '8'
|
11 | script:
|
12 | - npm run lint
|
13 | - npm run test
|
14 | - npm run test:coverage
|
15 | - npm run test:check-coverage
|
16 | after_success:
|
17 | - npm run travis-deploy-once "npm run semantic-release"
|
18 | branches:
|
19 | except:
|
20 | - /^v\d+\.\d+\.\d+$/
|