(pouchdb/mapreduce#228) - actually test in phantom

This commit is contained in:
Nolan Lawson 2014-11-28 17:17:45 -05:00
parent efb9287f39
commit 200b28de5b

View File

@ -53,9 +53,10 @@ testUrl += querystring.stringify(qs);
if (process.env.TRAVIS &&
client.browser !== 'firefox' &&
client.browser !== 'phantomjs' &&
process.env.TRAVIS_SECURE_ENV_VARS === 'false') {
console.error('Not running test, cannot connect to saucelabs');
process.exit(0);
process.exit(1);
return;
}