Skip to content

Commit

Permalink
[BUGFIX] Import the database after the composer install
Browse files Browse the repository at this point in the history
This is required to fix the build as the database structure that is going
to be imported is only available after the composer install.
  • Loading branch information
Oliver Klee committed Jul 21, 2017
1 parent eaad8ec commit 9d299f1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9d299f1

Please sign in to comment.