moving from coveralls to codecov

https://coveralls.io/github/Tonejs/Tone.js kept returning a 406 error
This commit is contained in:
tambien 2019-02-01 10:17:35 -05:00
parent d957aad613
commit 6244b71890
5 changed files with 239 additions and 573 deletions

2
.gitignore vendored
View file

@ -18,7 +18,7 @@ test/performance
test/mainTest.js
test/Main.js
test/supports.html
test/coverage/
coverage/
build/*

View file

@ -7,7 +7,9 @@ install:
- npm install
- git config --global user.email "travis@travis-ci.org"
- git config --global user.name "Travis CI"
script: npm run test:travis
script:
- npm run test:travis
- npm run codecov
before_deploy:
- npm run increment
- npm run tsd

798
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -13,6 +13,7 @@
],
"scripts": {
"build": "npm run increment && npm run collect:deps && webpack -p --env.production",
"codecov": "codecov",
"collect": "npm run collect:deps",
"collect:deps": "node scripts/collect_deps.js",
"collect:tests": "node scripts/collect_tests.js --file $npm_config_file --dir $npm_config_dir",
@ -56,6 +57,7 @@
"@babel/polyfill": "^7.0.0-beta.47",
"audiobuffer-to-wav": "^1.0.0",
"chai": "^1.9.1",
"codecov": "^3.1.0",
"concurrently": "^3.5.1",
"eslint": "^4.19.1",
"eslint-plugin-html": "^5.0.0",
@ -68,7 +70,6 @@
"karma": "^3.0.0",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage": "^1.1.1",
"karma-coveralls": "^2.0.0",
"karma-firefox-launcher": "^1.1.0",
"karma-mocha": "^1.3.0",
"karma-safari-launcher": "^1.0.0",

View file

@ -44,17 +44,16 @@ module.exports = function(config){
// test results reporter to use
// possible values: 'dots', 'progress'
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
reporters : ["dots", "coverage", "coveralls"],
reporters : ["dots", "coverage"],
coverageReporter : {
type : "lcov",
dir : "test/coverage/"
dir : "./coverage"
},
//plugins
plugins : [
"karma-coverage",
"karma-coveralls",
"karma-mocha",
"karma-webpack",
"karma-chrome-launcher",