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:
+5
-2
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user