mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-28 08:06:05 +03:00
move robofile
This commit is contained in:
parent
9d90c32b17
commit
1caf5860a8
2
.gitignore
vendored
2
.gitignore
vendored
@ -6,4 +6,4 @@
|
||||
/vendor
|
||||
/www
|
||||
/bin
|
||||
.env
|
||||
tests/.env
|
||||
|
@ -10,6 +10,7 @@ php:
|
||||
|
||||
env:
|
||||
global:
|
||||
- ROBO_CONFIG=$(TRAVIS_BUILD_DIR)/tests/robo.yml
|
||||
- OC_DB_HOSTNAME=localhost
|
||||
- OC_DB_USERNAME=root
|
||||
- OC_DB_PASSWORD=root
|
||||
@ -27,7 +28,7 @@ before_script:
|
||||
|
||||
- composer install
|
||||
- composer setup
|
||||
- bin/robo project:deploy
|
||||
- bin/robo --load-from tests/RoboFile.php project:deploy
|
||||
- (php -S localhost:8000 -t www &) 2> /dev/null > /dev/null
|
||||
- sleep 2
|
||||
|
||||
|
@ -31,6 +31,6 @@
|
||||
"@test-admin",
|
||||
"@test-catalog"
|
||||
],
|
||||
"setup" : "bin/robo opencart:setup"
|
||||
"setup" : "bin/robo --load-from tests/RoboFile.php opencart:setup"
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
require_once('vendor/autoload.php');
|
||||
if (file_exists(__DIR__.'/.env')) {
|
||||
if (file_exists(__DIR__ . '/.env')) {
|
||||
Dotenv::load(__DIR__);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user