mirror of
https://github.com/retailcrm/Fetch.git
synced 2025-02-06 02:39:21 +03:00
Added back distinct IP address for Travis and Vagrant
This commit is contained in:
parent
56dc838df9
commit
ffeca296de
@ -14,15 +14,16 @@ error_reporting(-1);
|
||||
define('TESTING', true);
|
||||
define('TEST_USER', 'testuser');
|
||||
define('TEST_PASSWORD', 'applesauce');
|
||||
define('TESTING_SERVER_HOST', '172.31.1.2');
|
||||
|
||||
date_default_timezone_set('UTC');
|
||||
|
||||
if(getenv('TRAVIS'))
|
||||
{
|
||||
define('TESTING_ENVIRONMENT', 'TRAVIS');
|
||||
define('TESTING_SERVER_HOST', '127.0.0.1');
|
||||
}else{
|
||||
define('TESTING_ENVIRONMENT', 'VAGRANT');
|
||||
define('TESTING_SERVER_HOST', '172.31.1.2');
|
||||
echo 'Initializing Environment using Vagrant' . PHP_EOL;
|
||||
passthru('/bin/bash ' . __DIR__ . '/../vendor/tedivm/dovecottesting/SetupEnvironment.sh');
|
||||
echo 'Environment Initialized' . PHP_EOL . PHP_EOL . PHP_EOL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user