File tree Expand file tree Collapse file tree 3 files changed +8
-41
lines changed Expand file tree Collapse file tree 3 files changed +8
-41
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ before_install:
8
8
- " test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul"
9
9
script :
10
10
# Run test script, depending on istanbul install
11
- - " test ! -z $(npm -ps ls istanbul) || make test"
12
- - " test -z $(npm -ps ls istanbul) || make test-ci"
11
+ - " test ! -z $(npm -ps ls istanbul) || npm test"
12
+ - " test -z $(npm -ps ls istanbul) || npm run-script test-ci"
13
13
after_script :
14
14
- " test -e ./coverage/lcov.info && npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
"description" : " SQL escape and format from mysql/lib/protocol/SqlString.js" ,
5
5
"repository" : " mysqljs/sqlstring" ,
6
6
"main" : " index.js" ,
7
- "scripts" : {
8
- "test" : " make test-all"
9
- },
10
7
"dependencies" : {
11
8
12
9
},
25
22
"node" : " >= 0.8.0"
26
23
},
27
24
"author" : " fengmk2 <fengmk2@gmail.com> (http://fengmk2.github.com)" ,
28
- "license" : " MIT"
25
+ "license" : " MIT" ,
26
+ "scripts" : {
27
+ "test" : " mocha --reporter spec --bail --check-leaks test/" ,
28
+ "test-ci" : " istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" ,
29
+ "test-cov" : " istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"
30
+ }
29
31
}
You can’t perform that action at this time.
0 commit comments