1 | language: node_js
|
2 | node_js:
|
3 | - "10"
|
4 | - "8"
|
5 |
|
6 | cache:
|
7 | directories:
|
8 | - node_modules
|
9 |
|
10 | before_script:
|
11 | - npm uninstall typescript --no-save
|
12 | - npm uninstall tslint --no-save
|
13 | - npm install
|
14 |
|
15 | script:
|
16 | - npm run test
|
17 |
|
18 | after_success:
|
19 | - npm run coverage
|
20 |
|
21 | branches:
|
22 | only:
|
23 | - master
|