forked from jsx-eslint/eslint-plugin-jsx-a11y
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (59 loc) · 1.16 KB
/
.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
language: node_js
node_js:
- "14"
- "12"
- "10"
- "8"
- "6"
- "4"
cache:
yarn: true
directories:
- node_modules
before_install:
- nvm install-latest-npm
- if [ -n "${ESLINT-}" ]; then npm uninstall --no-save eslint-config-airbnb-base && npm install --no-save "eslint@${ESLINT}"; fi
script:
- if [ "${FLOW-}" = true ]; then npm run flow; fi
- if [ "${LINT-}" = true ]; then npm run lint; fi
- if [ "${TEST-}" = true ]; then npm run test:ci; fi
after_success:
- if [ "${TEST-}" = true ]; then npm run coveralls; fi
sudo: false
branches:
only:
- master
env:
global:
- TEST=true
matrix:
- ESLINT=7
- ESLINT=6
- ESLINT=5
- ESLINT=4
- ESLINT=3
matrix:
fast_finish: true
include:
- node_js: "node"
env: FLOW=true TEST=false
- node_js: "node"
env: LINT=true TEST=false
exclude:
- node_js: "4"
env: ESLINT=5
- node_js: "4"
env: ESLINT=6
- node_js: "4"
env: ESLINT=7
- node_js: "6"
env: ESLINT=6
- node_js: "6"
env: ESLINT=7
- node_js: "8"
env: ESLINT=7
allow_failures:
- node_js: "4"
env: ESLINT=4
- node_js: "4"
env: ESLINT=3