Browse Source

skipping apc for php 5.5 on travis

tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
c0506b8cff
  1. 6
      tests/unit/data/travis/apc-setup.sh

6
tests/unit/data/travis/apc-setup.sh

@ -1,2 +1,8 @@
#!/bin/sh
if [ "$(expr "$TRAVIS_PHP_VERSION" "<" "5.5")" -eq 1 ]; then
echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
echo "apc.enable_cli = 1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini echo "apc.enable_cli = 1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
else
echo "Not installing APC as it is not available in PHP 5.5 anymore."
fi
Loading…
Cancel
Save