File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 11
11
yarn : true
12
12
directories :
13
13
- node_modules
14
+ before_script :
15
+ - if [ -n "${ESLINT-}" ]; then npm install --no-save "eslint@${ESLINT}"; fi
14
16
script :
15
17
- if [ "${FLOW-}" = true ]; then npm run flow; fi
16
18
- if [ "${LINT-}" = true ]; then npm run lint; fi
@@ -21,6 +23,9 @@ sudo: false
21
23
env :
22
24
global :
23
25
- TEST=true
26
+ matrix :
27
+ - ESLINT=4
28
+ - ESLINT=3
24
29
matrix :
25
30
fast_finish : true
26
31
include :
Original file line number Diff line number Diff line change 40
40
"babel-polyfill" : " ^6.26.0" ,
41
41
"babel-preset-es2015" : " ^6.24.1" ,
42
42
"coveralls" : " ^3.0.1" ,
43
- "eslint" : " ^4.19.1 " ,
43
+ "eslint" : " ^3 || ^4 " ,
44
44
"eslint-config-airbnb-base" : " ^13.0.0" ,
45
45
"eslint-plugin-flowtype" : " ^2.49.3" ,
46
46
"eslint-plugin-import" : " ^2.13.0" ,
You can’t perform that action at this time.
0 commit comments