set memory limit for php container
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
026e7674dd
commit
7b6616c292
|
@ -29,10 +29,11 @@ steps:
|
||||||
- name: tests
|
- name: tests
|
||||||
image: zoomyboy/adrema-base:latest
|
image: zoomyboy/adrema-base:latest
|
||||||
commands:
|
commands:
|
||||||
- php -d 'memory_limit=2G' artisan migrate
|
- echo 'memory_limit = 2G' >> /usr/local/etc/php/conf.d/99-custom-php-memlimit.ini;
|
||||||
- php -d 'memory_limit=2G' artisan test
|
- php artisan migrate
|
||||||
|
- php artisan test
|
||||||
- rm -f .env
|
- rm -f .env
|
||||||
- vendor/bin/phpstan analyse --memory-limit=2G
|
- vendor/bin/phpstan analyse
|
||||||
environment:
|
environment:
|
||||||
APP_NAME: Scoutrobot
|
APP_NAME: Scoutrobot
|
||||||
APP_KEY:
|
APP_KEY:
|
||||||
|
|
Loading…
Reference in New Issue