Skip to content

Commit 05764ee

Browse files
oliverkleeSam Tuke
authored andcommitted
[BUGFIX] Install dependencies before importing the DB (#71)
The dependencies provide the SQL file that will be used for the DB import. So this order is necessary for the build to pass reliably.
1 parent d200aa8 commit 05764ee

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,18 @@ cache:
3131

3232
before_install:
3333
- phpenv config-rm xdebug.ini
34+
35+
install:
36+
- composer install
37+
38+
before_script:
3439
- >
3540
echo;
3641
echo "Creating the database and importing the database schema";
3742
mysql -e "CREATE DATABASE ${PHPLIST_DATABASE_NAME};";
3843
mysql -u root -e "GRANT ALL ON ${PHPLIST_DATABASE_NAME}.* TO '${PHPLIST_DATABASE_USER}'@'%';";
3944
mysql ${PHPLIST_DATABASE_NAME} < vendor/phplist/phplist4-core/Database/Schema.sql;
4045
41-
install:
42-
- composer install
43-
4446
script:
4547
- >
4648
echo;

0 commit comments

Comments
 (0)