-
-
Notifications
You must be signed in to change notification settings - Fork 184
/
.travis.yml
39 lines (32 loc) · 726 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
34
35
36
37
38
39
sudo: false
git:
depth: 10
branches:
only:
- master
language: node_js
cache: yarn
matrix:
include:
- node_js: '11'
script: yarn pretest
env: CI=pretest
- node_js: '4'
script: yarn test:ci
env: CI=tests 4
- node_js: '6'
script: yarn test:ci
env: CI=tests 6
- node_js: '8'
script: yarn test:ci
env: CI=tests 8
- node_js: '10'
script: yarn test:ci
env: CI=tests 10
- node_js: '11'
script: yarn test:ci
env: CI=coverage 11
before_install:
- yarn install --ignore-engines
after_success:
- if [ "$CI" = "coverage" ]; then cat ./.coverage/lcov.info | ./node_modules/.bin/coveralls --verbose && rm -rf ./coverage; fi