split running of smbclient and libsmbclient backend tests

This commit is contained in:
Robin Appelman 2015-04-25 16:54:41 +02:00
commit 25c0dffdc7
8 changed files with 39 additions and 9 deletions

8
install_libsmbclient.sh Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
sudo apt-get install libsmbclient-dev libsmbclient
wget -O /tmp/libsmbclient-php.zip https://github.com/eduardok/libsmbclient-php/archive/master.zip
unzip /tmp/libsmbclient-php.zip -d /tmp
cd /tmp/libsmbclient-php-master
phpize && ./configure && make && sudo make install
echo 'extension="libsmbclient.so"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini