Artisan undocumented functionality seems to be the cause...
This commit is contained in:
parent
51cd79505c
commit
02b487191c
@ -13,17 +13,10 @@ php-build-job:
|
|||||||
image: composer:2
|
image: composer:2
|
||||||
script:
|
script:
|
||||||
- composer install
|
- composer install
|
||||||
- cat .env || true
|
|
||||||
- cat .env.testing || true
|
|
||||||
- cp .env.testing .env
|
|
||||||
- cat .env || true
|
|
||||||
- cat .env.testing || true
|
|
||||||
- php artisan key:generate
|
- php artisan key:generate
|
||||||
- cat .env || true
|
|
||||||
- cat .env.testing || true
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- .env
|
- .env.testing
|
||||||
- vendor/
|
- vendor/
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
@ -42,15 +35,12 @@ php-test-job:
|
|||||||
- pecl install xdebug
|
- pecl install xdebug
|
||||||
- echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini
|
- echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini
|
||||||
- echo "xdebug.mode=coverage" >> /usr/local/etc/php/conf.d/xdebug.ini
|
- echo "xdebug.mode=coverage" >> /usr/local/etc/php/conf.d/xdebug.ini
|
||||||
- cp -f .env .env.testing
|
|
||||||
- export DB_CONNECTION=mysql
|
- export DB_CONNECTION=mysql
|
||||||
- export DB_HOST=mysql
|
- export DB_HOST=mysql
|
||||||
- export DB_PORT=3306
|
- export DB_PORT=3306
|
||||||
- export DB_DATABASE="$MYSQL_DATABASE"
|
- export DB_DATABASE="$MYSQL_DATABASE"
|
||||||
- export DB_USERNAME=root
|
- export DB_USERNAME=root
|
||||||
- export DB_PASSWORD="$MYSQL_ROOT_PASSWORD"
|
- export DB_PASSWORD="$MYSQL_ROOT_PASSWORD"
|
||||||
- cat .env || true
|
|
||||||
- cat .env.testing || true
|
|
||||||
- php artisan test --coverage-cobertura code-coverage.xml
|
- php artisan test --coverage-cobertura code-coverage.xml
|
||||||
artifacts:
|
artifacts:
|
||||||
reports:
|
reports:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user