Skip to content

Commit

Permalink
fix sth about ci build script readme
Browse files Browse the repository at this point in the history
  • Loading branch information
leowang721 committed Mar 14, 2017
1 parent d2c4474 commit 461a35e
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 7 deletions.
Binary file removed .DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
service_name: travis-ci
repo_token: OzuBj03jOd8HSTlntlr7iPf7c2XmOJl5O
1 change: 0 additions & 1 deletion .nyc_output/119617639e1a6ffbc8e5f494e21e651d.json

This file was deleted.

1 change: 0 additions & 1 deletion .nyc_output/9100fb2d98a1890af192f1db6ddfeb35.json

This file was deleted.

1 change: 0 additions & 1 deletion .nyc_output/cde11f791e7074bfae1ec4c3e7174a7a.json

This file was deleted.

4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ install:
npm --version
npm install --registry http://registry.npmjs.org
script:
- npm test
- npm run cover
after_script:
- npm run coveralls
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# k-core

[![Build Status](https://travis-ci.org/leowang721/k-core.svg?branch=master)](https://travis-ci.org/leowang721/k-core)
[![Coverage Status](https://coveralls.io/repos/github/leowang721/k-core/badge.svg?branch=master)](https://coveralls.io/github/leowang721/k-core?branch=master)

If in pure Node.js, then version > 7.5.0 is required.

Otherwise you can use babel.
Expand Down Expand Up @@ -31,4 +34,8 @@ Using eventemitter3, uncontrolled version(^2.0.2)
I enjoyed using the `fire` api instead of `emit`, so I just add it.

## Workflow
A simple Class for asynchronous control flow.
A simple Class for asynchronous control flow.

Just like koa's middleware control.

but in async/await version.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "k-core",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"author": {
"name": "Leo Wang",
Expand All @@ -27,11 +27,13 @@
"babel-preset-stage-0": "^6.22.0",
"babel-register": "^6.24.0",
"chai": "^3.5.0",
"coveralls": "^2.12.0",
"mocha": "^3.2.0",
"nyc": "^10.1.2"
},
"scripts": {
"test": "./node_modules/.bin/mocha --compilers js:babel-core/register --require babel-polyfill",
"cover": "NODE_ENV=test node_modules/.bin/nyc node_modules/.bin/mocha"
"cover": "NODE_ENV=test node_modules/.bin/nyc node_modules/.bin/mocha",
"coveralls": "cat ./test/coverage/lcov.info | ./node_modules/.bin/coveralls"
}
}

0 comments on commit 461a35e

Please sign in to comment.