language: php
services: mongodb
php:
    - 5.3
    - 5.4

before_script:
    # Fetch ZF
    - wget http://framework.zend.com/releases/ZendFramework-1.11.11/ZendFramework-1.11.11-minimal.tar.gz
    - tar xfz ZendFramework-1.11.11-minimal.tar.gz
    # Create TestConfiguration file with ZF path
    - sed "s,Zend Framework path here,`pwd`/ZendFramework-1.11.11-minimal/library," tests/TestConfiguration.php.dist > tests/TestConfiguration.php
    # Install MongoDB driver
    - wget http://pecl.php.net/get/mongo-1.2.9.tgz
    - tar xfz mongo-1.2.9.tgz
    - sh -c "cd mongo-1.2.9 && phpize && ./configure && make && sudo make install"
    - echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

script: phpunit --bootstrap tests/TestHelper.php tests/AllTests.php
language: php
services: mongodb
php:
    - 5.3
    - 5.4

before_script:
    # Fetch ZF
    - wget http://framework.zend.com/releases/ZendFramework-1.12.0/ZendFramework-1.12.0-minimal.tar.gz
    - tar xfz ZendFramework-1.12.0-minimal.tar.gz
    # Create TestConfiguration file with ZF path
    - sed "s,Zend Framework path here,`pwd`/ZendFramework-1.12.0-minimal/library," tests/TestConfiguration.php.dist > tests/TestConfiguration.php
    # Install MongoDB driver
    - wget http://pecl.php.net/get/mongo-1.2.9.tgz
    - tar xfz mongo-1.2.9.tgz
    - sh -c "cd mongo-1.2.9 && phpize && ./configure && make && sudo make install"
    - echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

script: phpunit --bootstrap tests/TestHelper.php tests/AllTests.php
Use ZF 1.12.0 in TravisCI
Use ZF 1.12.0 in TravisCI
