Skip to content

Commit

Permalink
making sure apcu and apc get loaded in correct order
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydiablo committed Apr 21, 2018
1 parent 17f44c5 commit d8d58d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@ branches:
only:
master

before_install:
- phpenv config-add travis-config.ini
- travis_retry composer self-update

install:
- pecl install apcu_bc
- echo "yes\nno\n" | pecl install apcu && sed -i 's/extension="apcu.so"//' ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- pecl install apcu_bc && sed -i 's/extension="apc.so"//' ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- phpenv config-add travis-config.ini
- phpenv rehash
- travis_retry composer install --no-interaction --prefer-source

Expand Down
1 change: 1 addition & 0 deletions travis-config.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
extension = memcached.so
extension = apcu.so
extension = apc.so

apc.enabled = 1
apc.enable_cli = 1

0 comments on commit d8d58d2

Please sign in to comment.