Permalink
Browse files

remove ci_depends.php call and use new phpenv to locate php.ini

  • Loading branch information...
1 parent 0f84181 commit 14155d25c887dcefce4ef425c6af1c6ba1789411 @d1rk d1rk committed Mar 14, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 .travis.yml
View
@@ -8,7 +8,7 @@ services:
# - REDIS_STANDALONE=0
# - REDIS_STANDALONE=1
before_install:
- - php tests/ci_depends.php
+ # - php tests/ci_depends.php
- cd ../
- git clone git://github.com/UnionOfRAD/framework.git
- cp -fr li3_redis/tests/data/connections.php framework/app/config/bootstrap/connections.php
@@ -22,7 +22,7 @@ before_install:
- cd phpredis-2.2.2/ && phpize && ./configure && make && make install
- echo "extension=redis.so" > redis.ini && phpenv config-add redis.ini
- cd ..
- - echo "extension=/home/travis/build/bruensicke/framework/app/libraries/li3_redis/phpredis-2.2.2/modules/redis.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
+ - echo "extension=/home/travis/build/bruensicke/framework/app/libraries/li3_redis/phpredis-2.2.2/modules/redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- phpenv rehash
# before_script:
# - sh -c "if [ $REDIS_STANDALONE -eq 0 ]; then wget https://github.com/nicolasff/phpredis/archive/2.2.2.zip -O php-redis.zip && unzip php-redis.zip; fi"

0 comments on commit 14155d2

Please sign in to comment.