Skip to content

Commit

Permalink
adding ev extension to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
steverhoades committed Sep 4, 2014
1 parent 6241c0e commit 8e847ea
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions travis-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then
popd
echo "extension=libevent.so" >> "$(php -r 'echo php_ini_loaded_file();')"

# install 'pecl-ev' PHP extension
git clone http://bitbucket.org/osmanov/pecl-ev.git
# 0.2.10
pushd pecl-ev
phpize
./configure
make
make install
popd
echo "extension=ev.so" >> "$(php -r 'echo php_ini_loaded_file();')"

# install 'libev' PHP extension
git clone --recursive https://github.com/m4rw3r/php-libev
pushd php-libev
Expand Down

0 comments on commit 8e847ea

Please sign in to comment.