move robofile

This commit is contained in:
Akolzin Dmitry 2020-02-17 17:46:01 +03:00
parent 9d90c32b17
commit 1caf5860a8
5 changed files with 5 additions and 4 deletions

2
.gitignore vendored
View File

@ -6,4 +6,4 @@
/vendor
/www
/bin
.env
tests/.env

View File

@ -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

View File

@ -31,6 +31,6 @@
"@test-admin",
"@test-catalog"
],
"setup" : "bin/robo opencart:setup"
"setup" : "bin/robo --load-from tests/RoboFile.php opencart:setup"
}
}