-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy path.travis.yml
33 lines (31 loc) · 895 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
os: linux
dist: bionic
language: node_js
.after_script: &uploadCoverage "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
jobs:
include:
- name: Run tests on Node.js 4
node_js: 4
script: npm run test-no-cov
- name: Run tests on Node.js 6
node_js: 6
script: npm run test-no-cov
- name: Run tests on Node.js 8
node_js: 8
script: npm run test-cov
after_script: *uploadCoverage
- name: Run tests on Node.js 10
node_js: 10
script: npm run test-cov
after_script: *uploadCoverage
- name: Run tests on Node.js 12
node_js: 12
script: npm run test-cov
after_script: *uploadCoverage
- name: Run tests on stable Node.js
node_js: stable
script: npm run test-cov
after_script: *uploadCoverage
- name: Standard Style
node_js: stable
script: npx standard