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

You need to sign in or sign up before continuing.
Commit 3e51dca0 by Jan Aagaard Meier

Adding codecov.yml

1 parent 757cba5c
Showing with 5 additions and 7 deletions
......@@ -14,8 +14,6 @@ env:
- CC=clang
- CXX=clang++
- npm_config_clang=1
- COVERALLS_REPO_TOKEN=751SiA6QhY5EH4P2ygq7JFWulqiD2ETXO
- COVERALLS_PARALLEL=true
matrix:
- DIALECT=mysql
- DIALECT=postgres
......@@ -40,7 +38,7 @@ before_script:
- "psql sequelize_test -c 'create extension postgis;' -U postgres"
script:
- "if [ $COVERAGE ]; then npm run ci-coverage; else npm run test; fi"
- "if [ $COVERAGE ]; then npm run cover && bash <(curl -s https://codecov.io/bash) -f coverage/lcov.info; else npm run test; fi"
matrix:
include:
......@@ -53,5 +51,3 @@ matrix:
- node_js: "6"
env: COVERAGE=true DIALECT=sqlite
notifications:
webhooks: https://coveralls.io/webhook?repo_token=$COVERALLS_REPO_TOKEN
comment:
layout: "header, changes"
behavior: default
......@@ -59,7 +59,6 @@
"chai-as-promised": "^5.1.0",
"chai-datetime": "^1.4.0",
"chai-spies": "^0.7.0",
"codecov": "^1.0.1",
"commander": "^2.6.0",
"continuation-local-storage": "^3.1.4",
"cross-env": "^2.0.1",
......@@ -130,7 +129,6 @@
"cover-integration": "cross-env COVERAGE=true node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -t 60000 --ui tdd \"test/integration/**/*.test.js\" && node -e \"require('fs').renameSync('coverage/lcov.info', 'coverage/integration.info')\"",
"cover-unit": "cross-env COVERAGE=true node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -t 30000 --ui tdd \"test/unit/**/*.test.js\" && node -e \"require('fs').renameSync('coverage/lcov.info', 'coverage/unit.info')\"",
"merge-coverage": "lcov-result-merger \"coverage/*.info\" \"coverage/lcov.info\"",
"ci-coverage": "npm run cover && codecov",
"sscce": "docker-compose run sequelize /bin/sh -c \"node sscce.js\"",
"sscce-mysql": "cross-env DIALECT=mysql npm run sscce",
"sscce-postgres": "cross-env DIALECT=postgres npm run sscce",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!