-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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 #819 from sjinks/ci-cleanup
Simplify .travis.yml
- Loading branch information
Showing
9 changed files
with
20 additions
and
52 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
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
extension=apc.so | ||
apc.enable_cli=On |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
apc.enable_cli=On |
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,20 +1,10 @@ | ||
#! /bin/sh | ||
|
||
if [ "$(php -r 'echo substr(PHP_VERSION, 0, 3);')" = "5.3" ]; then | ||
wget -q http://pecl.php.net/get/apc-3.1.9.tgz | ||
tar -xzf apc-3.1.9.tgz | ||
( cd APC-3.1.9 && phpize && ./configure --enable-apc && make && sudo make install ) | ||
echo "extension=apc.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` | ||
elif [ "$(php -r 'echo substr(PHP_VERSION, 0, 3);')" = "5.5" ]; then | ||
wget -q http://pecl.php.net/get/apcu-4.0.1.tgz | ||
tar xzf apcu-4.0.1.tgz | ||
( cd apcu-4.0.1 && phpize && ./configure && make && sudo make install ) | ||
echo "extension=apcu.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` | ||
DIR=$(readlink -enq $(dirname $0)) | ||
|
||
if [ "$(php -r 'echo substr(PHP_VERSION, 0, 3);')" = "5.5" ]; then | ||
pecl install apcu < /dev/null || ( pecl config-set preferred_state beta; pecl install apcu < /dev/null ) | ||
phpenv config-add "$DIR/apcu.ini" | ||
else | ||
wget -q http://pecl.php.net/get/apc-3.1.13.tgz | ||
tar -xzf apc-3.1.13.tgz | ||
( cd APC-3.1.13 && phpize && ./configure --enable-apc && make && sudo make install ) | ||
echo "extension=apc.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` | ||
phpenv config-add "$DIR/apc.ini" | ||
fi | ||
|
||
echo "apc.enable_cli = On" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
extension=memcache.so |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
extension=mongo.so |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
extension=phalcon.so |