From 9adf0243a734990dffe06f851ffe8eadead0a789 Mon Sep 17 00:00:00 2001 From: Nathan Landis Date: Tue, 31 Jan 2012 19:46:46 -0600 Subject: [PATCH] Add support for travis ci --- .travis.yml | 4 ++++ README.md | 3 +++ package.json | 5 +++++ 3 files changed, 12 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..94cd7f6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +language: node_js +node_js: + - 0.6 + - 0.7 diff --git a/README.md b/README.md index 25c9d92..2003b78 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +[![Build Status](https://secure.travis-ci.org/my8bird/nodejs-secure-random.png?branch=master)](http://travis-ci.org/my8bird/nodejs-secure-random) + + Purpose ------- Javascripts Math.random is not very random. This library attempts to use the NodeJS crypto library to generate random numbers more randomly. This has not been tested yet using an entropy validator but should be better then the normal randomness. diff --git a/package.json b/package.json index 34ca566..34107cb 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,11 @@ "author": "Nathan Landis ", "version": "0.1.0", "main": "random", + + "scripts": { + "test": "./node_modules/mocha/bin/mocha test_random.js" + }, + "dependencies": { }, "devDependencies": {