Skip to content

Commit

Permalink
travis: specify the node binary location
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrk committed Oct 11, 2012
1 parent cc63cd9 commit f78e57b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -2,4 +2,4 @@ language: node_js
node_js:
- 0.8
- 0.9
script: npm run build && npm test
script: npm run build && NODE_BINARY=$(which node) npm test
5 changes: 3 additions & 2 deletions README.md
@@ -1,6 +1,6 @@
[![Build Status](https://secure.travis-ci.org/indabamusic/naught.png)](http://travis-ci.org/indabamusic/naught)

features:
Features:
---------

* zero downtime code deployment
Expand All @@ -9,7 +9,7 @@ features:
* redirect worker stdout and stderr to rotating gzipped log files
* runs as daemon, providing ability to start and stop

usage:
Usage:
------

To use naught, your node.js server has 2 requirements.
Expand Down Expand Up @@ -47,6 +47,7 @@ usage:


CLI:
----

naught start [options] server.js [script-options]

Expand Down
2 changes: 1 addition & 1 deletion test/test.js
Expand Up @@ -15,7 +15,7 @@ naught_main = path.join(root, "lib", "main.js");
port = 11904;
hostname = 'localhost';
timeout = 5;
node_binary = process.argv[0];
node_binary = process.env.NODE_BINARY || process.argv[0];

function exec(cmd, args, opts, cb){
var bin, stdout, stderr;
Expand Down

0 comments on commit f78e57b

Please sign in to comment.