Browse Source

adding coveralls/travis integration

hotfix/0.7.1
Bryan Donovan 12 years ago
parent
commit
066a5a39a6
  1. 3
      History.md
  2. 3
      Makefile
  3. 3
      README.md
  4. 1
      coveralls.yml
  5. 3
      package.json
  6. 9
      travis.yml

3
History.md

@ -1,3 +1,6 @@
- 0.1.1 2013-10-13
Travis and Coveralls integration testing.
- 0.1.0 2013-10-13
Removing built-in Redis store to emphasize that you should plug in your own
cache store.

3
Makefile

@ -17,6 +17,9 @@ test: cover check-coverage
test-cov: cover check-coverage
open coverage/lcov-report/index.html
test-travis: lint
./node_modules/.bin/istanbul cover test/run.js --report lcovonly \
-- -T unit,functional -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
lint:
./node_modules/.bin/jshint ./lib --config $(BASE)/.jshintrc && \
./node_modules/.bin/jshint ./test --config $(BASE)/.jshintrc

3
README.md

@ -1,3 +1,6 @@
[![build status](https://secure.travis-ci.org/BryanDonovan/node-cache-manager.png)](http://travis-ci.org/BryanDonovan/node-cache-manager)
[![Coverage Status](https://coveralls.io/repos/BryanDonovan/node-cache-manager/badge.png?branch=master)](https://coveralls.io/r/BryanDonovan/node-cache-manager?branch=master)
node-cache-manager
======================

1
coveralls.yml

@ -0,0 +1 @@
service_name: travis-ci

3
package.json

@ -1,6 +1,6 @@
{
"name": "cache-manager",
"version": "0.1.0",
"version": "0.1.1",
"description": "Cache module for Node.js",
"main": "index.js",
"scripts": {
@ -23,6 +23,7 @@
"lru-cache": ">=2.3.0"
},
"devDependencies": {
"coveralls": "~2.3.0",
"istanbul": ">=0.1.29",
"jshint": ">=1.0.1",
"mocha": ">=1.8.1",

9
travis.yml

@ -0,0 +1,9 @@
language: node_js
node_js:
- 0.8
- 0.10
script: 'make test-travis'
branches:
only:
- master
- develop
Loading…
Cancel
Save