Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #72 from tedivm/travis_test

Updated Travis CI tests to work with new PHP Extension handling.
  • Loading branch information...
commit 126c3f970aa7546bef1fb375086025608b19ea09 2 parents 071352c + e2f87ee
@tedivm tedivm authored
View
2  .travis.yml
@@ -6,7 +6,7 @@ php:
before_script:
- composer install --dev
- - php tests/travis.setup.php
+ - phpenv config-add tests/php_extensions.ini
script: phpunit --verbose --coverage-text
View
6 tests/php_extensions.ini
@@ -0,0 +1,6 @@
+extension="apc.so"
+extension="memcache.so"
+extension="memcached.so"
+
+apc.enabled=1
+apc.enable_cli=1
View
2  tests/travis.setup.php
@@ -105,7 +105,7 @@ public function install($name)
$folder = basename($file, ".tgz");
$folder = basename($folder, ".tar.gz");
$this->system(sprintf(
- 'sh -c "cd %s && phpize && ./configure %s && make && sudo make install" > /dev/null 2>&1',
+ 'sh -c "cd %s && phpize && ./configure %s && make && sudo make install"',
$folder,
implode(' ', $extension['cfg'])
));
Please sign in to comment.
Something went wrong with that request. Please try again.