File tree Expand file tree Collapse file tree 2 files changed +26
-7
lines changed Expand file tree Collapse file tree 2 files changed +26
-7
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
- - 4
4
- - 5
5
- - 6
3
+ - " 8"
4
+ - " 7"
5
+ - " 6"
6
+ - " 5"
7
+ - " 4"
6
8
cache :
7
9
yarn : true
8
10
directories :
9
11
- node_modules
10
12
script :
11
- - npm run test:ci
13
+ - if [ "${FLOW-}" = true ]; then npm run flow; fi
14
+ - if [ "${LINT-}" = true ]; then npm run lint; fi
15
+ - if [ "${TEST-}" = true ]; then npm run test:ci; fi
12
16
after_success :
13
- - npm run coveralls
17
+ - if [ "${TEST-}" = true ]; then npm run coveralls; fi
18
+ sudo : false
19
+ env :
20
+ global :
21
+ - TEST=true
22
+ matrix :
23
+ fast_finish : true
24
+ include :
25
+ - node_js : " node"
26
+ env : FLOW=true TEST=false
27
+ - node_js : " node"
28
+ env : LINT=true TEST=false
29
+ allow_failures :
30
+ - node_js : " 7"
31
+ - node_js : " 5"
Original file line number Diff line number Diff line change 25
25
"lint" : " eslint --config .eslintrc src __tests__ __mocks__ scripts" ,
26
26
"prepublish" : " safe-publish-latest && npm run lint && npm run flow && npm run test && npm run build" ,
27
27
"pretest" : " npm run lint:fix && npm run flow" ,
28
- "test:ci" : " npm test -- --ci --runInBand" ,
29
- "test" : " jest --coverage __tests__/**/*"
28
+ "test" : " npm run jest" ,
29
+ "test:ci" : " npm run jest -- --ci --runInBand" ,
30
+ "jest" : " jest --coverage __tests__/**/*"
30
31
},
31
32
"devDependencies" : {
32
33
"babel-cli" : " ^6.24.1" ,
You can’t perform that action at this time.
0 commit comments