Skip to content

Commit

Permalink
Merge pull request #418 from rexxars/travis-fix
Browse files Browse the repository at this point in the history
Attempt to fix tests on travis
  • Loading branch information
rexxars committed Dec 7, 2015
2 parents c582139 + a677908 commit 0ab2bc7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ before_install:
- sudo add-apt-repository -y ppa:moti-p/cc
- sudo apt-get update
- sudo apt-get -y --reinstall install imagemagick
- printf "\n" | pecl install apcu
- printf "\n" | pecl install imagick-beta
- printf "\n" | pecl install --force mongo
- printf "\n" | pecl install --force memcached-2.2.0
- printf "\n" | pecl install apcu-4.0.10
- printf "\n" | pecl install imagick-3.4.0RC2
before_script:
- echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo "apc.enable_cli=On" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- phpenv config-add tests/travis-php.ini
- composer self-update
- composer -n --no-ansi install --dev --prefer-source
script:
Expand Down
6 changes: 6 additions & 0 deletions tests/travis-php.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extension=apcu.so
extension=mongo.so
extension=memcached.so
extension=imagick.so

apc.enable_cli=On

0 comments on commit 0ab2bc7

Please sign in to comment.