forked from stylelint/stylelint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (34 loc) · 794 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
40
41
42
sudo: false
git:
depth: 10
branches:
only:
- master
- /^greenkeeper/.*$/
language: node_js
# cache node modules
cache:
directories:
- $HOME/.npm
- node_modules
matrix:
include:
- node_js: '8'
script: npm run pretest
env: CI=pretest
- node_js: '8'
script: npm run jest -- --maxWorkers=2 --coverage
env: CI=coverage
- node_js: '10'
script: npm run jest -- --maxWorkers=2
env: CI=tests 10
- node_js: '6'
script: npm run jest -- --maxWorkers=2
env: CI=tests 6
before_install:
- npm install -g npm@latest
after_success:
- if [ "$CI" = "coverage" ]; then cat ./.coverage/lcov.info | ./node_modules/.bin/coveralls; fi
notifications:
webhooks:
- https://webhooks.gitter.im/e/d763493612da45967361