Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
bugthesystem committed Mar 4, 2016
2 parents 7c3eaf3 + d8c51aa commit b096cb8
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
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"
43 changes: 43 additions & 0 deletions README.md
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
```

0 comments on commit b096cb8

Please sign in to comment.