Skip to content

NOW MANAGED ON CODEBERG

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

Clément Blanco711dcb4a4834
diff --git a/.travis.yml b/.travis.yml
index 909e3e1f4..c5199b65f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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
\ No newline at end of file
+ - phpunit