From 9d299f1f4dd3a65848654bcf43e77bac73a4aa39 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Fri, 21 Jul 2017 19:44:50 +0200 Subject: [PATCH] [BUGFIX] Import the database after the composer install This is required to fix the build as the database structure that is going to be imported is only available after the composer install. --- .travis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9440ec5..6fdce69 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,15 +22,17 @@ cache: before_install: - phpenv config-rm xdebug.ini + +install: + - composer install + +before_script: - > echo; echo "Importing the database schema"; mysql -e "CREATE DATABASE ${PHPLIST_DATABASE_NAME};"; mysql ${PHPLIST_DATABASE_NAME} < vendor/phplist/phplist4-core/Database/Schema.sql; -install: - - composer install - script: - > echo;