Commit fc5d9801 authored by Johan Cwiklinski's avatar Johan Cwiklinski

Fix circle conf

parent cbed2f0f
......@@ -83,7 +83,7 @@ commands:
command: |
mysql -h 127.0.0.1 -u root -e 'create database glpitest080;'
mysql -h 127.0.0.1 -u root glpitest080 < tests/glpi-0.80-empty.sql
bin/console glpi:database:configure --config-dir=./tests --no-interaction --reconfigure --db-name=glpitest0723 --db-host=127.0.0.1 --db-user=root
bin/console glpi:database:configure --config-dir=./tests --no-interaction --reconfigure --db-driver=mysql --db-name=glpitest080 --db-host=127.0.0.1 --db-user=root
bin/console glpi:migration:myisam_to_innodb --config-dir=./tests --no-interaction
bin/console glpi:database:update --config-dir=./tests --allow-unstable --no-interaction
bin/console glpi:database:update --config-dir=./tests --allow-unstable --no-interaction |grep -q "No migration needed." || (echo "glpi:database:update command FAILED" && exit 1)
......@@ -92,7 +92,7 @@ commands:
- run:
name: Database tests
command: |
bin/console glpi:database:configure --config-dir=./tests --no-interaction --reconfigure --db-name=glpitest0723 --db-host=127.0.0.1 --db-user=root
bin/console glpi:database:configure --config-dir=./tests --no-interaction --reconfigure --db-driver=mysql --db-name=glpitest080 --db-host=127.0.0.1 --db-user=root
php vendor/bin/atoum -p 'php -d memory_limit=512M' --debug --force-terminal --use-dot-report --configurations tests/telemetry.php --bootstrap-file tests/bootstrap.php --no-code-coverage --max-children-number 1 -d tests/database
# Database install command.
......@@ -102,7 +102,7 @@ commands:
name: Install DB
command: |
mysql -h 127.0.0.1 -u root -e 'create database glpitest;'
bin/console glpi:database:install --config-dir=./tests --no-interaction --reconfigure --db-name=glpitest --db-host=127.0.0.1 --db-user=root
bin/console glpi:database:install --config-dir=./tests --no-interaction --reconfigure --db-driver=mysql --db-name=glpitest --db-host=127.0.0.1 --db-user=root
bin/console glpi:database:update --config-dir=./tests --no-interaction |grep -q "No migration needed." || (echo "glpi:database:update command FAILED" && exit 1)
cp tests/circleci.parameters.yaml tests/parameters.yaml
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment