2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-20 20:00:40 +03:00

Updating configuration to use Firefox for testing PRs

This commit is contained in:
Nick Uraltsev
2016-03-22 23:46:36 -07:00
parent 4f61a78436
commit c622b35f38
2 changed files with 9 additions and 2 deletions
+5 -2
View File
@@ -97,8 +97,11 @@ module.exports = function(config) {
browsers = Object.keys(customLaunchers);
} else if (process.env.TRAVIS_PULL_REQUEST && process.env.TRAVIS_PULL_REQUEST !== 'false') {
console.log('Cannot run on Sauce Labs as encrypted environment variables are not available to PRs. Using PhantomJS.');
browsers = ['PhantomJS'];
console.log(
'Cannot run on Sauce Labs as encrypted environment variables are not available to PRs. ' +
'Running on Travis.'
);
browsers = ['Firefox'];
} else {
console.log('Running locally since SAUCE_USERNAME and SAUCE_ACCESS_KEY environment variables are not set.');
browsers = ['Firefox', 'Chrome', 'Safari', 'Opera'];