File tree Expand file tree Collapse file tree 5 files changed +2245
-15
lines changed Expand file tree Collapse file tree 5 files changed +2245
-15
lines changed Original file line number Diff line number Diff line change 6
6
test /actual
7
7
actual
8
8
coverage
9
+ .nyc_output
9
10
10
11
# npm
11
12
node_modules
Original file line number Diff line number Diff line change 1
1
sudo : false
2
2
language : node_js
3
3
node_js :
4
- - node
4
+ - ' node'
5
+ - ' 12'
6
+ - ' 10'
7
+ - ' 8'
5
8
- ' 6'
6
- - ' 0.10'
7
- - ' 0.12'
8
- - 4
9
- - 6
10
- script : make test-ci
9
+ script : yarn test-ci
10
+ after_success : yarn coverage
Original file line number Diff line number Diff line change @@ -26,13 +26,6 @@ test: lint
26
26
echo " CommonMark stat:\n"
27
27
./support/specsplit.js test/fixtures/commonmark/spec.txt
28
28
29
- coverage :
30
- rm -rf coverage
31
- istanbul cover node_modules/.bin/_mocha
32
-
33
- test-ci : lint
34
- istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
35
-
36
29
gh-pages :
37
30
if [ " git branch --list gh-pages" ]; then \
38
31
git branch -D gh-pages ; \
Original file line number Diff line number Diff line change 55
55
"node" : " >= 0.10.0"
56
56
},
57
57
"scripts" : {
58
- "test" : " make test"
58
+ "test" : " make test" ,
59
+ "test-ci" : " nyc mocha -R spec --bail" ,
60
+ "coverage" : " yarn add coveralls@2 && nyc report --reporter=text-lcov | coveralls"
59
61
},
60
62
"dependencies" : {
61
63
"argparse" : " ~0.1.15" ,
68
70
"gulp-format-md" : " ^0.1.10" ,
69
71
"highlight.js" : " ^9.7.0" ,
70
72
"marked" : " 0.3.2" ,
71
- "mocha" : " *"
73
+ "mocha" : " ^6.1.4" ,
74
+ "nyc" : " ^14.1.1"
72
75
},
73
76
"keywords" : [
74
77
" commonmark" ,
You can’t perform that action at this time.
0 commit comments