Permalink
Browse files

re-enable phpenv to fix unit-tests on travis

  • Loading branch information...
1 parent 940c011 commit 0f8418156d5f99a48683da89c01b93c449b13a9a @d1rk d1rk committed Mar 14, 2013
Showing with 8 additions and 8 deletions.
  1. +8 −8 .travis.yml
View
@@ -2,8 +2,8 @@ language: php
php:
- 5.3
- 5.4
-# services:
-# - redis-server
+services:
+ - redis-server
# env:
# - REDIS_STANDALONE=0
# - REDIS_STANDALONE=1
@@ -18,12 +18,12 @@ before_install:
- git submodule update --init --recursive
- cd libraries/lithium && git pull --rebase origin master
- cd ../../app/libraries/li3_redis
- # - wget https://github.com/nicolasff/phpredis/archive/2.2.2.zip -O php-redis.zip && unzip php-redis.zip
- # - 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*||"`
- # - phpenv rehash
+ - wget https://github.com/nicolasff/phpredis/archive/2.2.2.zip -O php-redis.zip && unzip php-redis.zip
+ - 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*||"`
+ - 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"
# - sh -c "if [ $REDIS_STANDALONE -eq 0 ]; then cd phpredis-2.2.2/ && phpize && ./configure && make && make install; fi"

0 comments on commit 0f84181

Please sign in to comment.