This repository was archived by the owner on Jun 27, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change
1
+ coverage :
2
+ range : " 60...100"
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ lib-cov
13
13
# Coverage directory used by tools like istanbul
14
14
coverage
15
15
.nyc_output
16
+ coverage.lcov
16
17
17
18
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
18
19
.grunt
Original file line number Diff line number Diff line change 21
21
- docker build -t humanconnection/api-feathers .
22
22
- script :
23
23
- yarn install --frozen-lockfile --non-interactive
24
- - yarn global add codacy-coverage
25
- - yarn run ci
26
- - cat ./coverage/lcov.info | codacy-coverage
24
+ - yarn global add codecov
25
+ - yarn run ci && codecov
27
26
28
27
after_success :
29
28
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
Original file line number Diff line number Diff line change 33
33
"yarn" : " >= 1.3.0"
34
34
},
35
35
"scripts" : {
36
- "ci" : " yarn run eslint && yarn run test:coverage" ,
36
+ "ci" : " yarn run eslint && yarn run test && yarn run test :coverage" ,
37
37
"clean" : " rm -Rf tmp" ,
38
38
"mongo" : " mongod --dbpath data --quiet" ,
39
39
"mongo:win" : " mongod --dbpath /data/db --quiet" ,
40
- "test" : " yarn run mocha && yarn run cucumber" ,
41
- "test:coverage" : " nyc --reporter=lcovonly --reporter=text-summary yarn run test " ,
40
+ "test" : " nyc --reporter=text-lcov yarn run mocha && yarn run cucumber" ,
41
+ "test:coverage" : " nyc report --reporter=text-lcov > coverage.lcov " ,
42
42
"eslint" : " eslint server/. test/. features/. --config .eslintrc.json" ,
43
43
"start" : " node server/" ,
44
44
"dev" : " cross-env DEBUG=feathers* nodemon server/" ,
You can’t perform that action at this time.
0 commit comments