Skip to content

Commit

Permalink
added node 7 support and coveralls support
Browse files Browse the repository at this point in the history
  • Loading branch information
tjbenton committed Jan 19, 2017
1 parent 2dea202 commit a542a12
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ node_js:
- "4"
- "5"
- "6"
- "7"

cache:
directories:
Expand All @@ -14,3 +15,4 @@ cache:

install: make install
script: make ci
after_success: make post-coverage
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,11 @@ coverage test-coverage code-coverage:

# These commands only run the report of the code coverage
report-coverage report-code-coverage:
@[ -d ./.nyc_output ] && NODE_ENV="test" nyc report || make test-coverage
@[ -d ./.nyc_output ] && NODE_ENV="test" nyc report || make test-coverage report-coverage

# posts code coverage to coveralls
post-coverage:
@[ -d ./.nyc_output ] && nyc report --reporter=text-lcov | coveralls || make test-coverage post-coverage

# The command the ci server runs
ci:
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

Utility that generates fake data in `json`, `yaml`, `yml`, `cson`, or `csv` formats based on models which are defined in `yaml`. Data can be generated using any combination of [FakerJS](http://marak.github.io/faker.js), [ChanceJS](http://chancejs.com), or Custom Functions.

[![Build Status](https://travis-ci.org/bentonam/fakeit.svg?branch=master)](https://travis-ci.org/bentonam/fakeit)
[![Coverage Status](https://coveralls.io/repos/bentonam/fakeit/badge.svg?branch=master&service=github)](https://coveralls.io/github/bentonam/fakeit?branch=master)

[![Dependency Status](https://david-dm.org/bentonam/fakeit.svg)](https://david-dm.org/bentonam/fakeit)
[![devDependency Status](https://david-dm.org/bentonam/fakeit/dev-status.svg)](https://david-dm.org/bentonam/fakeit#info=devDependencies)

![Example of how it works](https://github.com/bentonam/fakeit/blob/release/1.0.0/assets/example.gif)

Generated data can be output in the following formats and destinations:
Expand Down

0 comments on commit a542a12

Please sign in to comment.