Added codecov config
This commit is contained in:
parent
442ebe4682
commit
e0da46390d
|
@ -1,6 +1,9 @@
|
|||
language: node_js
|
||||
sudo: false
|
||||
node_js:
|
||||
- "6"
|
||||
before_script:
|
||||
- npm run deps
|
||||
- npm run build
|
||||
after_success:
|
||||
- npm run codecov
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# SpaceTac, a space tactical RPG
|
||||
|
||||
[![Build Status](https://travis-ci.org/thunderk/spacetac.svg?branch=master)](https://travis-ci.org/thunderk/spacetac)
|
||||
[![codecov](https://codecov.io/gh/thunderk/spacetac/branch/master/graph/badge.svg)](https://codecov.io/gh/thunderk/spacetac)
|
||||
|
||||
This is a work-in-progress technology preview. Graphics are mostly placeholders at the moment.
|
||||
|
||||
[PLAY](http://thunderk.github.io/spacetac/) directly in your browser, no dependency required.
|
||||
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
"build": "tsc -p .",
|
||||
"test": "karma start spec/support/karma.conf.js && remap-istanbul -i out/coverage/coverage.json -o out/coverage -t html",
|
||||
"build-test": "npm run build && npm run test",
|
||||
"serve": "live-server out --host=127.0.0.1 --port=8012 --ignore=coverage"
|
||||
"serve": "live-server out --host=127.0.0.1 --port=8012 --ignore=coverage",
|
||||
"codecov": "remap-istanbul -i out/coverage/coverage.json -o out/coverage/mapped.json -t json && codecov -f out/coverage/mapped.json"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -18,6 +19,7 @@
|
|||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"bower": "~1.8",
|
||||
"codecov": "~1.0",
|
||||
"jasmine": "~2.5",
|
||||
"karma": "~1.3",
|
||||
"karma-coverage": "~1.1",
|
||||
|
|
Loading…
Reference in a new issue