diff --git a/test/appengine/all.test.js b/test/appengine/all.test.js index 82bd6d2cf2..fbac63338e 100644 --- a/test/appengine/all.test.js +++ b/test/appengine/all.test.js @@ -93,12 +93,6 @@ var sampleTests = [ msg: 'Hello World! Express.js + Grunt.js on Google App Engine.', TRAVIS_NODE_VERSION: '0.12' }, - { - dir: 'hapi', - cmd: 'node', - args: ['index.js'], - msg: 'Hello World! Hapi.js on Google App Engine.' - }, { dir: 'hello-world', cmd: 'node', @@ -138,16 +132,6 @@ var sampleTests = [ msg: 'Value:', test: /Value: \d\.\d+/ }, - { - dir: 'parse-server', - cmd: 'node', - args: ['server.js'], - msg: 'Hello, world!', - env: { - APP_ID: 'foo', - MASTER_KEY: 'bar' - } - }, { dir: 'pubsub', cmd: 'node', @@ -218,8 +202,13 @@ if (process.env.TRAVIS_NODE_VERSION === '0.10') { } if (process.env.TRAVIS_NODE_VERSION === 'stable') { - // For some reason the "npm install" step for the Sails sample doesn't work on - // Travis when using Node.js stable. It works locally, however. + sampleTests.push({ + dir: 'hapi', + cmd: 'node', + args: ['index.js'], + msg: 'Hello World! Hapi.js on Google App Engine.', + TRAVIS_NODE_VERSION: 'stable' + }); sampleTests.push({ dir: 'koa', deploy: true, @@ -228,6 +217,17 @@ if (process.env.TRAVIS_NODE_VERSION === 'stable') { msg: 'Hello World! Koa.js on Google App Engine.', TRAVIS_NODE_VERSION: 'stable' }); + sampleTests.push({ + dir: 'parse-server', + cmd: 'node', + args: ['server.js'], + msg: 'Hello, world!', + TRAVIS_NODE_VERSION: 'stable', + env: { + APP_ID: 'foo', + MASTER_KEY: 'bar' + } + }); } // Send a request to the given url and test that the response body has the