Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #16 from smartive/feature/replace-apc-with-apcu
Browse files Browse the repository at this point in the history
Replace APC with APCu
  • Loading branch information
thilohaas committed Jan 26, 2016
2 parents 43ac015 + a3716de commit e36931f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ matrix:
env: SYMFONY_VERSION=3.0.*

before_install:
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;
- if [[ $TRAVIS_PHP_VERSION != "hhvm" ]]; then pecl channel-update pecl.php.net; fi;
- if [[ $TRAVIS_PHP_VERSION =~ 5.[4-6] ]]; then echo yes | pecl install apcu-4.0.10; fi;
- if [[ $TRAVIS_PHP_VERSION = 7.* ]]; then echo yes | pecl install apcu; fi;
- composer self-update
- mkdir -p build/logs
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
- if [ "$SYMFONY_VERSION" == "3.0.*" ]; then composer require "snc/redis-bundle:dev-master" --no-update; fi;
- if [[ $SYMFONY_VERSION != "" ]]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
- if [[ $SYMFONY_VERSION == "3.0.*" ]]; then composer require "snc/redis-bundle:dev-master" --no-update; fi;

install: composer update --prefer-source

Expand Down

0 comments on commit e36931f

Please sign in to comment.