argh i have no idea what im doing

pull/31/head
Rich-Harris 8 years ago
parent 5ba66c6511
commit ad4726ce76

@ -7,4 +7,4 @@ env:
global:
- BUILD_TIMEOUT=10000
install: npm install
after_success: npm run coverage
after_success: npm run codecov

File diff suppressed because it is too large Load Diff

@ -9,8 +9,10 @@
],
"scripts": {
"test": "mocha --opts mocha.opts",
"precoverage": "mocha --opts mocha.coverage.opts",
"coverage": "mkdir -p .nyc_output && nyc report --reporter=text-lcov > coverage.lcov && codecov",
"precoverage": "export COVERAGE=true && nyc mocha --opts mocha.coverage.opts",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov",
"codecov": "codecov",
"precodecov": "npm run coverage",
"lint": "eslint compiler",
"build": "rollup -c",
"pretest": "npm run build",

@ -12,7 +12,7 @@ sourceMapSupport.install();
// for coverage purposes, we need to test source files,
// but for sanity purposes, we need to test dist files
const svelte = process.env.CI ?
const svelte = process.env.COVERAGE ?
require( '../compiler/index.js' ) :
require( '../dist/svelte.js' );

Loading…
Cancel
Save