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

Commit d5e38585 by Sushant

(build) Added coverage merging stage, Added postgres, postgres-native alias

1 parent dafb26f2
Showing with 3 additions and 1 deletions
...@@ -119,12 +119,14 @@ ...@@ -119,12 +119,14 @@
"mssql-cover": "DIALECT=mssql npm run cover && mv coverage coverage-mssql", "mssql-cover": "DIALECT=mssql npm run cover && mv coverage coverage-mssql",
"merge-coverage": "rm -rf coverage && mkdir coverage && './node_modules/.bin/lcov-result-merger coverage-*/lcov.info' 'coverage/lcov.info'", "merge-coverage": "rm -rf coverage && mkdir coverage && './node_modules/.bin/lcov-result-merger coverage-*/lcov.info' 'coverage/lcov.info'",
"codeclimate-send": "npm install -g codeclimate-test-reporter && CODECLIMATE_REPO_TOKEN=ce835a510bbf423a5ab5400a9bdcc2ec2d189d840b31657c6ee7cb9916b161d6 codeclimate < coverage/lcov.info", "codeclimate-send": "npm install -g codeclimate-test-reporter && CODECLIMATE_REPO_TOKEN=ce835a510bbf423a5ab5400a9bdcc2ec2d189d840b31657c6ee7cb9916b161d6 codeclimate < coverage/lcov.info",
"cover-all": "npm run mysql-cover && npm run postgres-cover && npm run postgres-native-cover && npm run mssql-cover && npm run sqlite-cover && npm run mariadb-cover", "cover-all": "npm run mysql-cover && npm run postgres-cover && npm run postgres-native-cover && npm run mssql-cover && npm run sqlite-cover && npm run mariadb-cover && npm run merge-coverage",
"codeclimate": "npm run cover-all && npm run codeclimate-send", "codeclimate": "npm run cover-all && npm run codeclimate-send",
"mysql": "DIALECT=mysql npm test", "mysql": "DIALECT=mysql npm test",
"sqlite": "DIALECT=sqlite npm test", "sqlite": "DIALECT=sqlite npm test",
"postgres": "DIALECT=postgres npm test", "postgres": "DIALECT=postgres npm test",
"pgsql": "npm run postgres",
"postgres-native": "DIALECT=postgres-native npm test", "postgres-native": "DIALECT=postgres-native npm test",
"postgresn": "npm run postgres-native",
"mariadb": "DIALECT=mariadb npm test", "mariadb": "DIALECT=mariadb npm test",
"mssql": "DIALECT=mssql npm test", "mssql": "DIALECT=mssql npm test",
"all": "npm run mysql && npm run sqlite && npm run postgres && npm run postgres-native && npm run mariadb && npm run mssql" "all": "npm run mysql && npm run sqlite && npm run postgres && npm run postgres-native && npm run mariadb && npm run mssql"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!