forked from stylelint/stylelint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (35 loc) · 804 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
43
sudo: false
git:
depth: 1
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 -- --runInBand --coverage
env: CI=coverage
- node_js: '6'
script: npm run jest -- --runInBand
env: CI=tests 6
- node_js: '4'
script: npm run jest -- --runInBand
env: CI=tests 4
sudo: required
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