From 558ae5ba4bb9a5314a767563e6f10be62ea58ed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 20 Oct 2019 15:19:32 +0200 Subject: [PATCH] Create travis database using symfony command. --- .travis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 211a2f5f..b9b2b1b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,11 +15,9 @@ php: - '7.4snapshot' - 'nightly' -before_install: - - mysql -e 'CREATE DATABASE part-db_test;' - install: - composer install + - php bin/console --env test doctrine:database:create --if-not-exists -n - php bin/console --env test doctrine:migrations:migrate -n - php bin/console --env test doctrine:fixtures:load -n