Skip to content

Commit

Permalink
Merge pull request #490 from GrimoireGL/develop
Browse files Browse the repository at this point in the history
test: supported test coverage
  • Loading branch information
kyasbal authored Jun 12, 2017
2 parents b258401 + 15a1096 commit 78d4651
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ dependencies:
test:
post:
- sh release.sh
- aws s3 cp ./coverage/ s3://coverage.grimoire.gl/core/$CIRCLE_BRANCH --recursive --region ap-northeast-1 --acl public-read
override:
- npm run lint && npm run build && npm test
- npm run lint && npm run build && npm run coverage

deployment:
deploy:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grimoirejs",
"version": "0.18.0-beta2",
"version": "0.0.0-development",
"description": "A service-oriented WebGL framework.",
"main": "./ref/index.js",
"typings": "./ref/index.d.ts",
Expand Down Expand Up @@ -50,7 +50,7 @@
},
"repository": "http://github.com/GrimoireGL/GrimoireJS",
"scripts": {
"coverage": "nyc --reporter=lcov --reporter=text --reporter=json npm run test && remap-istanbul -i coverage/coverage-final.json -o coverage/html-report -t html",
"coverage": "nyc --reporter=lcov --reporter=text --reporter=json --reporter html npm run test",
"test": "tsc -p tsconfig.test.json && cpx test/_TestResource/**/* test-lib/_TestResource && ava ./test-lib/**/*Test.js --verbose --serial",
"lint": "tslint -c tslint.json ./src/**/*.ts",
"prepublish": "webpack --progress --env.prod && npm test",
Expand Down

0 comments on commit 78d4651

Please sign in to comment.