Skip to content

Commit

Permalink
coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
lisong committed Oct 13, 2016
1 parent ef6c757 commit 3032ff9
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ before_install:
# Update Node.js modules
- "test ! -d node_modules || npm prune"
- "test ! -d node_modules || npm rebuild"
# after_script: "npm install coveralls@2.10.0 && cat ./coverage/lcov.info | coveralls"
script: "npm run-script coverage"
after_script: "npm install coveralls@2.10.0 && cat ./coverage/lcov.info | coveralls"
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ coverage:
# @NODE_ENV=test CONFIG_FILE=${ROOT}/config/config.test.js ./node_modules/istanbul/lib/cli.js cover --report none --dir coverage/core ./node_modules/.bin/_mocha \
# test/unit -- --recursive --timeout 15000
@NODE_ENV=test PORT=3000 HOST=127.0.0.1 CONFIG_FILE=${ROOT}/config/config.test.js node bin/www &
@NODE_ENV=test CONFIG_FILE=${ROOT}/config/config.test.js ./node_modules/istanbul/lib/cli.js cover --report none --dir coverage/api ./node_modules/.bin/_mocha \
test/api/init test/api/users test/api/auth test/api/account test/api/accessKeys test/api/sessions test/api/apps test/api/index -- --recursive --timeout 15000
@NODE_ENV=test CONFIG_FILE=${ROOT}/config/config.test.js ./node_modules/istanbul/lib/cli.js cover --report lcovonly --dir coverage/api ./node_modules/.bin/_mocha \
test/api/init test/api/users test/api/auth test/api/account test/api/accessKeys test/api/sessions test/api/apps test/api/index -- -R spec --recursive --timeout 15000
@NODE_ENV=test CONFIG_FILE=${ROOT}/config/config.test.js ./node_modules/istanbul/lib/cli.js report

.PHONY: coverage
26 changes: 13 additions & 13 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ init:
environment:
matrix:
- nodejs_version: "6"
# - nodejs_version: "6.1"
# - nodejs_version: "5"
# - nodejs_version: "5.11"
# - nodejs_version: "5.10"
# - nodejs_version: "5.9"
# - nodejs_version: "5.8"
# - nodejs_version: "5.7"
# - nodejs_version: "5.6"
# - nodejs_version: "5.5"
# - nodejs_version: "5.4"
# - nodejs_version: "5.3"
# - nodejs_version: "5.2"
# - nodejs_version: "5.1"
- nodejs_version: "6.1"
- nodejs_version: "5"
- nodejs_version: "5.11"
- nodejs_version: "5.10"
- nodejs_version: "5.9"
- nodejs_version: "5.8"
- nodejs_version: "5.7"
- nodejs_version: "5.6"
- nodejs_version: "5.5"
- nodejs_version: "5.4"
- nodejs_version: "5.3"
- nodejs_version: "5.2"
- nodejs_version: "5.1"
services:
- mysql
install:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"url": "https://github.com/lisong/"
},
"dependencies": {
"bcrypt": "^0.8.5",
"bcrypt": "^0.8.7",
"bluebird": "^3.4.1",
"body-parser": "~1.13.2",
"cookie-parser": "~1.3.5",
Expand Down

0 comments on commit 3032ff9

Please sign in to comment.