diff --git a/.travis.yml b/.travis.yml index e0f88b0a6..9c91e9fdb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,4 +10,4 @@ node_js: before_script: - npm install -g grunt-cli nyc script: - - nyc npm test && nyc report --reporter=text-lcov | coveralls + - travis-test diff --git a/Readme.md b/Readme.md index 9b3b67e61..d62880461 100755 --- a/Readme.md +++ b/Readme.md @@ -1,4 +1,4 @@ -# Dynamoose [![Build Status](https://travis-ci.org/automategreen/dynamoose.png)](https://travis-ci.org/automategreen/dynamoose) +# Dynamoose [![Build Status](https://travis-ci.org/automategreen/dynamoose.png)](https://travis-ci.org/automategreen/dynamoose) [![Coverage Status](https://coveralls.io/repos/github/automategreen/dynamoose/badge.svg?branch=master)](https://coveralls.io/github/automategreen/dynamoose?branch=master) Dynamoose is a modeling tool for Amazon's DynamoDB (inspired by [Mongoose](http://mongoosejs.com/)) @@ -45,6 +45,10 @@ Cat.get(666) The documentation can be found at https://dynamoosejs.com/api. +## Help Wanted! + +Help improve Dynamoose. I need all the help I can get to imporve test coverage and the documentation. If you would like to help please look at the `/test` and `/docs/_docs` folders and make a PR. + ## Change log ### Release 0.8 diff --git a/travis-test b/travis-test new file mode 100755 index 000000000..56b1ada2d --- /dev/null +++ b/travis-test @@ -0,0 +1,11 @@ +#!/bin/bash + +set -ev + +if [[ $(node --version) =~ "v0.12" ]]; then + npm test +else + nyc npm test && nyc report --reporter=text-lcov | coveralls +fi + +exit 0; \ No newline at end of file