From 4ca29ba4e75201e03079a202cb2b7e31fbedd139 Mon Sep 17 00:00:00 2001 From: Alex Vernacchia Date: Tue, 19 Aug 2014 11:35:24 -0400 Subject: [PATCH 1/2] travis ci: adding badge updating for travis ci - update .travis.yml to use correct modules for 0.8 testing - update .gitignore - update readme --- .gitignore | 1 + .travis.yml | 5 +++-- README.md | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3bb0c09..1569a25 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ node_modules/ testing.js coverage/ *.tgz +npm-debug.log diff --git a/.travis.yml b/.travis.yml index bc0199d..3177e1c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: node_js node_js: - - 0.8 - - 0.10 + - "0.8" + - "0.10" +before_install: "test $TRAVIS_NODE_VERSION = '0.8' && npm install -g npm@1.2.8000 || true" before_script: - npm install -g grunt-cli diff --git a/README.md b/README.md index 229fa78..2dc210f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,10 @@ -Fuel Auth (for Node.js) +Fuel Auth (for Node.js) [![Build Status](https://travis-ci.org/ExactTarget/Fuel-Node-Auth.svg)](https://travis-ci.org/ExactTarget/Fuel-Node-Auth) ============= This library allows users to create authentication clients for ExactTarget APIs. Use our [REST][1] and [SOAP][2] clients to interact with these APIs at a low-level. +This library is compatible with node versions 0.8 and 0.10+. If using with node version 0.8 `npm install` will error when installing the developer dependencies. To have a successful install use `npm install --production`. + ## Accessing ExactTarget's API Making requests to our API should be done using our [REST][1] and [SOAP][2] clients. From c1885613b0f084331cb86481f65f83042b1f60c1 Mon Sep 17 00:00:00 2001 From: Alex Vernacchia Date: Tue, 19 Aug 2014 14:22:14 -0400 Subject: [PATCH 2/2] travis ci: update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2dc210f..b25dec6 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Fuel Auth (for Node.js) [![Build Status](https://travis-ci.org/ExactTarget/Fuel- This library allows users to create authentication clients for ExactTarget APIs. Use our [REST][1] and [SOAP][2] clients to interact with these APIs at a low-level. -This library is compatible with node versions 0.8 and 0.10+. If using with node version 0.8 `npm install` will error when installing the developer dependencies. To have a successful install use `npm install --production`. +This library is compatible with node versions 0.8 and 0.10+. `npm install` will error if you're using node version 0.8 with developer dependencies. To have a successful install for testing/contributing use `npm install -g npm@1.2.8000` and the issue should be resolved. ## Accessing ExactTarget's API