Update travis.yml to try and solve the test issue around LDAP.

This commit is contained in:
Clément Blanco 2017-07-17 13:29:29 +01:00
parent 67bc7007aa
commit 711dcb4a48

View File

@ -8,6 +8,9 @@ cache:
directories:
- $HOME/.composer/cache
before_install:
- echo "extension=ldap.so" >> php --ini | grep "Loaded Configuration" | sed -e "s|.:\s||"
before_script:
- mysql -u root -e 'create database `bookstack-test`;'
- mysql -u root -e "CREATE USER 'bookstack-test'@'localhost' IDENTIFIED BY 'bookstack-test';"
@ -25,4 +28,4 @@ after_failure:
- cat storage/logs/laravel.log
script:
- phpunit
- phpunit