Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (26 sloc) 1.002 kB
language: php
php:
- 5.3
- 5.4
env:
- MONGO_VERSION=1.2.12
services: mongodb
before_script:
- pecl -q install mongo-${MONGO_VERSION} && echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
- git submodule update --init
- cd ..
- git clone git://github.com/zendframework/ZendSkeletonApplication.git
- cd ZendSkeletonApplication
- rm .gitmodules
- git rm --cached vendor/ZF2
- rm config/application.config.php && cp ../DoctrineMongoODMModule/.travis/application.config.php config/
- cp ../DoctrineMongoODMModule/.travis/composer.json ./
- composer install --dev
- rm -rf vendor/doctrine/doctrine-mongo-odm-module
- cp -r ../DoctrineMongoODMModule vendor/doctrine/
- mv vendor/doctrine/DoctrineMongoODMModule vendor/doctrine/doctrine-mongo-odm-module
script:
- ./vendor/bin/doctrine-module odm:schema:create
- ./vendor/bin/doctrine-module odm:schema:drop
- cd vendor/doctrine/doctrine-mongo-odm-module/tests
- phpunit
Jump to Line
Something went wrong with that request. Please try again.