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
1313# Coverage directory used by tools like istanbul
1414coverage
1515.nyc_output
16+ coverage.lcov
1617
1718# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
1819.grunt
Original file line number Diff line number Diff line change 2121 - docker build -t humanconnection/api-feathers .
2222 - script :
2323 - 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
2726
2827after_success :
2928 - wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
Original file line number Diff line number Diff line change 3333 "yarn" : " >= 1.3.0"
3434 },
3535 "scripts" : {
36- "ci" : " yarn run eslint && yarn run test:coverage" ,
36+ "ci" : " yarn run eslint && yarn run test && yarn run test :coverage" ,
3737 "clean" : " rm -Rf tmp" ,
3838 "mongo" : " mongod --dbpath data --quiet" ,
3939 "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 " ,
4242 "eslint" : " eslint server/. test/. features/. --config .eslintrc.json" ,
4343 "start" : " node server/" ,
4444 "dev" : " cross-env DEBUG=feathers* nodemon server/" ,
You can’t perform that action at this time.
0 commit comments