forked from lolli42/TYPO3-Travis-Integration
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from andygrunwald/memcached
[FEATURE] Add memcache PHP-Extension to travis ci build
- Loading branch information
Showing
1 changed file
with
4 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
#!/bin/bash | ||
|
||
|
||
function installPhpExtension() { | ||
name=$1 | ||
pyrus install pecl/$name && pyrus build pecl/$name | ||
echo "extension=\"$name.so\"" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` | ||
} | ||
|
||
installPhpExtension igbinary | ||
#apt-get -y install php-apc | ||
|
||
|
||
pecl install igbinary > /dev/null | ||
printf "no\n" | pecl install memcache > /dev/null | ||
echo "extension=\"memcache.so\"" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` | ||
echo "extension=\"igbinary.so\"" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` |