mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-11-29 14:06:03 +03:00
Added some useful output to the phpunit bootstrap file
This commit is contained in:
parent
bdfb20f610
commit
554c22a363
@ -18,11 +18,13 @@ define('TEST_PASSWORD', 'applesauce');
|
|||||||
if(getenv('TRAVIS'))
|
if(getenv('TRAVIS'))
|
||||||
{
|
{
|
||||||
define('TESTING_ENVIRONMENT', 'TRAVIS');
|
define('TESTING_ENVIRONMENT', 'TRAVIS');
|
||||||
define('TESTING_SERVER_IP', '127.0.0.1');
|
define('TESTING_SERVER_HOST', '127.0.0.1');
|
||||||
}else{
|
}else{
|
||||||
define('TESTING_ENVIRONMENT', 'VAGRANT');
|
define('TESTING_ENVIRONMENT', 'VAGRANT');
|
||||||
define('TESTING_SERVER_IP', '172.31.1.2');
|
define('TESTING_SERVER_HOST', '172.31.1.2');
|
||||||
exec('/bin/bash ' . __DIR__ . '/SetupEnvironment.sh');
|
echo 'Initializing Environment using Vagrant' . PHP_EOL;
|
||||||
|
passthru('/bin/bash ' . __DIR__ . '/SetupEnvironment.sh');
|
||||||
|
echo 'Environment Initialized' . PHP_EOL . PHP_EOL . PHP_EOL;
|
||||||
}
|
}
|
||||||
|
|
||||||
$filename = __DIR__ .'/../vendor/autoload.php';
|
$filename = __DIR__ .'/../vendor/autoload.php';
|
||||||
|
Loading…
Reference in New Issue
Block a user