|
@@ -37,16 +37,17 @@ pipeline:
|
|
- eval $(ssh-agent); ssh-add keys/bitbucket.id_rsa
|
|
- eval $(ssh-agent); ssh-add keys/bitbucket.id_rsa
|
|
- cp app/config/bundles/ik/device-bundle/parameters.yml.drone app/config/bundles/ik/device-bundle/parameters.yml
|
|
- cp app/config/bundles/ik/device-bundle/parameters.yml.drone app/config/bundles/ik/device-bundle/parameters.yml
|
|
- cp app/config/bundles/ik/base-admin-bundle/parameters.yml.dist app/config/bundles/ik/base-admin-bundle/parameters.yml
|
|
- cp app/config/bundles/ik/base-admin-bundle/parameters.yml.dist app/config/bundles/ik/base-admin-bundle/parameters.yml
|
|
- - cp app/config/bundles/ik/webservice-bundle/parameters.yml.dist app/config/bundles/ik/webservice-bundle/parameters.yml
|
|
|
|
- - chmod 0777 -R var/logs var/cache var/sessions
|
|
|
|
|
|
+ # - cp app/config/bundles/ik/webservice-bundle/parameters.yml.dist app/config/bundles/ik/webservice-bundle/parameters.yml
|
|
- composer install -n --no-progress
|
|
- composer install -n --no-progress
|
|
- composer dump-autoload --optimize
|
|
- composer dump-autoload --optimize
|
|
|
|
+ - chmod 0777 -R var/logs var/cache var/sessions
|
|
- php bin/console doctrine:schema:update --force -vvv --env=test
|
|
- php bin/console doctrine:schema:update --force -vvv --env=test
|
|
- - php bin/console cache:clear --no-warmup
|
|
|
|
|
|
+ # - php bin/console cache:clear --no-warmup
|
|
- touch var/logs/test.log
|
|
- touch var/logs/test.log
|
|
|
|
|
|
- tail -f var/logs/*.log &
|
|
- tail -f var/logs/*.log &
|
|
# - bin/console server:run --help --end=prod
|
|
# - bin/console server:run --help --end=prod
|
|
|
|
+ - bin/console server:run --end=prod &
|
|
- vendor/phpunit/phpunit/phpunit -c phpunit.xml.dist
|
|
- vendor/phpunit/phpunit/phpunit -c phpunit.xml.dist
|
|
|
|
|
|
docker:
|
|
docker:
|