File tree 2 files changed +8
-5
lines changed
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,10 @@ install:
16
16
- gulp run-codegen
17
17
18
18
script :
19
- - PHP_PARSER_VERSION=7_0 npm test
20
- - PHP_PARSER_VERSION=7_1 npm test
21
- - PHP_PARSER_VERSION=7_2 npm test
22
- - npm test
19
+ - npm run pretest
20
+ - npm run test:nyc
21
+ - PHP_PARSER_VERSION=7_2 npm run test:nyc:combine
22
+ - PHP_PARSER_VERSION=7_1 npm run test:nyc:combine
23
+ - PHP_PARSER_VERSION=7_0 npm run test:nyc:combine
23
24
24
25
after_success : npm run test:coveralls
Original file line number Diff line number Diff line change 48
48
"build:codegen" : " tsc -p ./tools/CodeGenerator" ,
49
49
"build:validator" : " tsc -p ./tools/Validator" ,
50
50
"pretest" : " tsc -p ./test" ,
51
- "test" : " nyc mocha --require source-map-support/register --recursive ./out/test" ,
51
+ "test" : " mocha --recursive ./out/test" ,
52
52
"test:coveralls" : " nyc report --reporter=text-lcov | coveralls" ,
53
+ "test:nyc" : " nyc mocha --require source-map-support/register --recursive ./out/test" ,
54
+ "test:nyc:combine" : " nyc --no-clean mocha --require source-map-support/register --recursive ./out/test" ,
53
55
"browserify" : " browserify ./lib/main.js -d -s PhpParser -r ./lib/ErrorCode.json:../ErrorCode.json | exorcist ./lib/php-parser.map.js > ./lib/php-parser.js"
54
56
}
55
57
}
You can’t perform that action at this time.
0 commit comments