瀏覽代碼

Test phpunit

Guillermo Espinoza 7 年之前
父節點
當前提交
720897e7e2
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      .drone.yml

+ 4 - 3
.drone.yml

@@ -37,16 +37,17 @@ pipeline:
       - 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/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 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 cache:clear --no-warmup
+      # - php bin/console cache:clear --no-warmup
       - touch var/logs/test.log
 
       - tail -f var/logs/*.log &
       # - bin/console server:run --help --end=prod
+      - bin/console server:run --end=prod &
       - vendor/phpunit/phpunit/phpunit -c phpunit.xml.dist
 
  docker: