Commit 0bb9fe79 by 3rd-Eden

[test] Added travis ci and default API key

parent 428eec83
language: node_js
node_js:
- "0.6"
- "0.8"
- "0.10"
...@@ -8,6 +8,10 @@ implements the following API endpoints: ...@@ -8,6 +8,10 @@ implements the following API endpoints:
- [Email](#email) - [Email](#email)
- [Name](#name) - [Name](#name)
## Build status
[![Build Status](https://travis-ci.org/observing/fullcontact.png?branch=master)](https://travis-ci.org/observing/fullcontact)
## Installation ## Installation
The module is distributed through npm (node package manager) and can be The module is distributed through npm (node package manager) and can be
...@@ -274,7 +278,7 @@ npm test ...@@ -274,7 +278,7 @@ npm test
If you want to test with your own API key please run: If you want to test with your own API key please run:
``` ```
API_KEY=<key> npm test API_KEY=<key> ./node_modules/.bin/mocha $(find test -name '*.test.js')
``` ```
## License ## License
......
...@@ -3,8 +3,9 @@ ...@@ -3,8 +3,9 @@
"version": "0.0.0", "version": "0.0.0",
"description": "Fullcontact API bindings", "description": "Fullcontact API bindings",
"main": "index.js", "main": "index.js",
"keywords": ["fullcontact", "api", "full", "contact"],
"scripts": { "scripts": {
"test": "NODE_ENV=testing ./node_modules/.bin/mocha $(find test -name '*.test.js')" "test": "API_KEY=506d9c8a7aafae5a NODE_ENV=testing ./node_modules/.bin/mocha $(find test -name '*.test.js')"
}, },
"repository": "", "repository": "",
"author": "Arnout Kazemier <opensource@observe.it>", "author": "Arnout Kazemier <opensource@observe.it>",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment