-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
2 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
language: node_js | ||
node_js: | ||
- "5.1.0" | ||
matrix: | ||
allow_failures: | ||
- node_js: "5.5.0" | ||
fast_finish: true | ||
before_script: | ||
- "npm install" | ||
- "npm install coveralls" | ||
script: | ||
- "npm run-script test-travis" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# statsy | ||
calculates the median and average using count sort | ||
[![Build Status](https://travis-ci.org/ziyasal/statsy.svg?branch=master)](https://travis-ci.org/ziyasal/statsy) [![Coverage Status](https://coveralls.io/repos/github/ziyasal/statsy/badge.svg?branch=master)](https://coveralls.io/github/ziyasal/statsy?branch=master) | ||
|
||
###Install Dependencies | ||
|
||
**On Windows** | ||
```sh | ||
npm install | ||
``` | ||
|
||
**On Linux** | ||
```sh | ||
sudo npm install | ||
``` | ||
|
||
### Commands | ||
|
||
**Start App** | ||
```js | ||
//Start Workers up to size that determined in config file (for example:3) | ||
node main.js --role='WORKER' | ||
node main.js --role='WORKER' | ||
node main.js --role='WORKER' | ||
|
||
//Start Master | ||
node main.js --role='MASTER' | ||
``` | ||
|
||
**Test** | ||
```sh | ||
npm test | ||
``` | ||
|
||
**Coverage** | ||
```sh | ||
npm run test-cov | ||
``` | ||
|
||
**ESLint** | ||
```sh | ||
npm run lint | ||
``` |