Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit 5794c1c

Browse files
removed test:coverage and create it always, also changed license inside package.json
1 parent 5f01cc3 commit 5794c1c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- yarn install --frozen-lockfile --non-interactive
2424
- yarn add codacy-coverage
2525
- yarn global add nyc
26-
- yarn test:coverage
26+
- yarn test
2727
- cat ./coverage/lcov.info | codacy-coverage
2828

2929
after_success:

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Human-Connection API",
44
"version": "0.1.0",
55
"homepage": "https://human-connection.org",
6-
"license": "CC-BY-NC-SA-4.0",
6+
"license": "MIT",
77
"repository": {
88
"type": "git",
99
"url": "https://github.com/Human-Connection/API.git"
@@ -36,7 +36,6 @@
3636
"clear": "rm -Rf tmp",
3737
"test": "$npm_package_config_nyc npm run mocha",
3838
"test:mongo": "$npm_package_config_nyc npm run mocha:mongo",
39-
"test:coverage": "$npm_package_config_nyc --reporter=lcovonly npm run mocha",
4039
"eslint": "eslint server/. test/. --config .eslintrc.json",
4140
"start": "concurrently 'mongod' 'wait-on tcp:27017 && cross-env NODE_ENV=production node server/'",
4241
"dev:debug": "npm run clear && concurrently '$npm_package_config_mongoDev &>/dev/null' 'wait-on tcp:27017 && cross-env DEBUG=feathers && cross-env NODE_ENV=development nodemon --inspect server/'",
@@ -48,7 +47,7 @@
4847
"mocha:mongo": "$npm_package_config_concurrently '$npm_package_config_mongoDev &>/dev/null' 'wait-on tcp:27017 && npm run mocha'"
4948
},
5049
"config": {
51-
"test": "npm run eslint && cross-env NODE_ENV=test nyc --reporter=text-summary",
50+
"test": "npm run eslint && cross-env NODE_ENV=test nyc --reporter=text-summary --reporter=lcovonly",
5251
"mongoDev": "mongod --dbpath data --quiet",
5352
"mocha": "cross-env NODE_ENV=test node_modules/mocha/bin/_mocha test/ --recursive --timeout 10000 --exit",
5453
"concurrently": "concurrently --kill-others --success first"

0 commit comments

Comments
 (0)