language: php

php:
 - 5.3
 - 5.4

before_script:
 - wget -nc http://getcomposer.org/composer.phar && php composer.phar install
 - mysql -e 'create database myapp_test;'
 - echo "yes" | pecl install memcache
 - echo "extension=memcache.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

script: phpunit --bootstrap ./tests/bootstrap.php --coverage-text tests

language: php

php:
 - 5.3
 - 5.4

before_script:
 - wget -nc http://getcomposer.org/composer.phar && php composer.phar install --prefer-source
 - mysql -e 'create database myapp_test;'
 - echo "yes" | pecl install memcache
 - echo "extension=memcache.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

script: phpunit --bootstrap ./tests/bootstrap.php --coverage-text tests

Add --prefer-source to bypass github limit rate
Add --prefer-source to bypass github limit rate
