Skip to content

Commit

Permalink
ci: install APCu from PECL
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinsh committed Dec 23, 2018
1 parent 3087df2 commit 7177553
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@ php:
- 7.0

before_script:
- INI_FILE=~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo extension = memcached.so >> $INI_FILE
- if [[ $TRAVIS_PHP_VERSION = 5.* ]]; then (echo yes | pecl install -f apcu-4.0.11 && echo apc.enable_cli = 1 >> $INI_FILE); fi;
- if [[ $TRAVIS_PHP_VERSION = 7.* ]]; then (echo yes | pecl install -f apcu-5.1.15 && echo apc.enable_cli = 1 >> $INI_FILE); fi;
- composer install --prefer-dist --no-interaction

script:
- vendor/bin/phpunit --bootstrap=modules/unittest/bootstrap.php modules/unittest/tests.php
- vendor/bin/phpunit --bootstrap=modules/unittest/bootstrap_all_modules.php modules/unittest/tests.php

notifications:
irc:
Expand Down

0 comments on commit 7177553

Please sign in to comment.