Browse Source

Update .gitlab-ci.yml

Espinoza Guillermo 6 năm trước cách đây
mục cha
commit
588707ae41
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  1. 2 3
      .gitlab-ci.yml

+ 2 - 3
.gitlab-ci.yml

@@ -75,8 +75,8 @@ build:
   script:
     - command -v mysqladmin >/dev/null 2>&1 || { echo "I require mysqladmin but it's not installed.  Aborting." >&2; exit 1; }
     - while ! mysqladmin ping -h mysql --silent; do :; done
-    - yes | mysqladmin -h mysql create fd3_dhcp
-    - yes | mysqladmin -h mysql create fd_session
+    - echo "yes" | mysqladmin -h mysql create fd3_dhcp
+    - echo "yes" | mysqladmin -h mysql create fd_session
     - echo 'client = Flowdat3-DHCP-Drone-Test' | tee /etc/flowdat.conf
     - echo 'date.timezone="America/Argentina/Buenos_Aires"' >> /etc/php/7.0/cli/php.ini
     - chmod 0400 keys/bitbucket.id_rsa
@@ -88,4 +88,3 @@ build:
     - tail -f var/logs/*.log &
     - vendor/phpunit/phpunit/phpunit -c phpunit.xml.dist
     - bin/console check:sintax --dir="app/DoctrineMigrations/src/" --debug=true
-