File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ before_script:
14
14
- npm i --no-save eslint@$ESLINT_VERSION; true
15
15
16
16
script :
17
- - if [ $ESLINT_VERSION = ^5.0.0 ]; then npm run lint; fi
18
- - npm test
17
+ - if [ $ESLINT_VERSION = ^5.0.0 ]; then npm run -s lint; fi
18
+ - npm run -s test:ci
19
19
20
20
after_success :
21
21
- npm run codecov
Original file line number Diff line number Diff line change 44
44
"docs:watch" : " vuepress dev docs" ,
45
45
"lint" : " eslint lib scripts tests" ,
46
46
"pretest" : " npm run -s lint" ,
47
- "test" : " nyc mocha \" tests/lib/**/*.js\" --reporter dot --timeout 4000" ,
48
- "watch" : " mocha \" tests/lib/**/*.js\" --reporter dot --timeout 4000 --watch --growl" ,
47
+ "test" : " nyc npm run -s test:mocha" ,
48
+ "test:ci" : " nyc npm run -s test:mocha" ,
49
+ "test:mocha" : " mocha \" tests/lib/**/*.js\" --reporter dot --timeout 4000" ,
50
+ "watch" : " npm run -s test:mocha -- --watch --growl" ,
49
51
"coverage" : " nyc report --reporter lcov && opener coverage/lcov-report/index.html" ,
50
52
"codecov" : " nyc report --reporter lcovonly && codecov"
51
53
},
You can’t perform that action at this time.
0 commit comments