不要怂,就是干,撸起袖子干!

Commit 20558a57 by Jan Aagaard Meier

Add mssql to coverage calculation

1 parent 93087499
Showing with 9 additions and 6 deletions
...@@ -19,3 +19,6 @@ insert_final_newline = true ...@@ -19,3 +19,6 @@ insert_final_newline = true
[*.md] [*.md]
trim_trailing_whitespace = false trim_trailing_whitespace = false
indent_size = 4 indent_size = 4
[Makefile]
indent_style = tabs
...@@ -82,6 +82,10 @@ cover: ...@@ -82,6 +82,10 @@ cover:
rm -rf coverage \ rm -rf coverage \
make teaser && ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- -t 15000 --ui tdd $(TESTS); \ make teaser && ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- -t 15000 --ui tdd $(TESTS); \
mssql-cover:
rm -rf coverage
@DIALECT=mssql make cover
mv coverage coverage-mssql
mariadb-cover: mariadb-cover:
rm -rf coverage rm -rf coverage
@DIALECT=mariadb make cover @DIALECT=mariadb make cover
...@@ -108,9 +112,6 @@ merge-coverage: ...@@ -108,9 +112,6 @@ merge-coverage:
mkdir coverage mkdir coverage
./node_modules/.bin/lcov-result-merger 'coverage-*/lcov.info' 'coverage/lcov.info' ./node_modules/.bin/lcov-result-merger 'coverage-*/lcov.info' 'coverage/lcov.info'
coveralls-send:
cat ./coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf ./coverage*
codeclimate-send: codeclimate-send:
npm install -g codeclimate-test-reporter npm install -g codeclimate-test-reporter
CODECLIMATE_REPO_TOKEN=ce835a510bbf423a5ab5400a9bdcc2ec2d189d840b31657c6ee7cb9916b161d6 codeclimate < coverage/lcov.info CODECLIMATE_REPO_TOKEN=ce835a510bbf423a5ab5400a9bdcc2ec2d189d840b31657c6ee7cb9916b161d6 codeclimate < coverage/lcov.info
...@@ -124,8 +125,7 @@ postgresn: postgres-native ...@@ -124,8 +125,7 @@ postgresn: postgres-native
all: sqlite mysql postgres postgres-native mariadb all: sqlite mysql postgres postgres-native mariadb
all-cover: sqlite-cover mysql-cover postgres-cover postgres-native-cover mariadb-cover merge-coverage all-cover: sqlite-cover mysql-cover postgres-cover postgres-native-cover mariadb-cover mssql-cover merge-coverage
coveralls: sqlite-cover mysql-cover postgres-cover postgres-native-cover mariadb-cover merge-coverage coveralls-send codeclimate: all-cover codeclimate-send
codeclimate: sqlite-cover mysql-cover postgres-cover postgres-native-cover mariadb-cover merge-coverage codeclimate-send
.PHONY: sqlite mysql postgres pgsql postgres-native postgresn all test .PHONY: sqlite mysql postgres pgsql postgres-native postgresn all test
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!