Skip to content

Commit

Permalink
Add node 0.11 to travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorribas committed Apr 26, 2014
1 parent 42fecf6 commit 1aeaba2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ language: node_js
node_js:
- "0.8"
- "0.10"
- "0.11"

script: "npm test"
5 changes: 4 additions & 1 deletion tests/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ var loop = function() {

if (!next) return console.log('\033[32m[ok]\033[39m all ok');

exec('node '+path.join(__dirname,next), {timeout:TIMEOUT}, function(err) {
var command = 'node ';
if (process.version.substr(1,4) === '0.11') command += '--harmony '

exec(command + path.join(__dirname,next), {timeout:TIMEOUT}, function(err) {
cnt++;

if (err) {
Expand Down

0 comments on commit 1aeaba2

Please sign in to comment.