Skip to content

Commit

Permalink
Travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdobry committed May 9, 2016
1 parent 04fb65b commit d4ebaa9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
sudo: false
language: node_js
node_js:
- "stable"
- "5"
- "0.12"

cache:
Expand Down
12 changes: 6 additions & 6 deletions test/appengine/all.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ var sampleTests = [
cmd: 'node',
args: ['node_modules/geddy/bin/cli.js'],
msg: 'Hello, World! Geddy.js on Google App Engine.',
TRAVIS_NODE_VERSION: 'stable'
TRAVIS_NODE_VERSION: '5'
},
{
dir: 'appengine/grunt',
Expand Down Expand Up @@ -220,7 +220,7 @@ var sampleTests = [

if (process.env.TRAVIS_NODE_VERSION === '0.12') {
// 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.
// Travis when using Node.js 5.x. It works locally, however.
sampleTests.push({
dir: 'appengine/sails',
cmd: 'node',
Expand All @@ -230,28 +230,28 @@ if (process.env.TRAVIS_NODE_VERSION === '0.12') {
});
}

if (process.env.TRAVIS_NODE_VERSION === 'stable') {
if (process.env.TRAVIS_NODE_VERSION === '5') {
sampleTests.push({
dir: 'appengine/hapi',
cmd: 'node',
args: ['index.js'],
msg: 'Hello World! Hapi.js on Google App Engine.',
TRAVIS_NODE_VERSION: 'stable'
TRAVIS_NODE_VERSION: '5'
});
sampleTests.push({
dir: 'appengine/koa',
deploy: true,
cmd: 'node',
args: ['--harmony', 'app.js'],
msg: 'Hello World! Koa.js on Google App Engine.',
TRAVIS_NODE_VERSION: 'stable'
TRAVIS_NODE_VERSION: '5'
});
sampleTests.push({
dir: 'appengine/parse-server',
cmd: 'node',
args: ['server.js'],
msg: 'Hello, world!',
TRAVIS_NODE_VERSION: 'stable',
TRAVIS_NODE_VERSION: '5',
env: {
APP_ID: 'foo',
MASTER_KEY: 'bar',
Expand Down

0 comments on commit d4ebaa9

Please sign in to comment.