circle.yml
machine:
php:
version: 5.6.14
timezone:
America/Chicago
dependencies:
pre:
- echo "memory_limit = -1" > ~/.phpenv/versions/5.6.14/etc/conf.d/memory.ini
- pecl install xdebug
- sudo composer self-update
override:
- composer install --no-interaction --optimize-autoloader --prefer-source
test:
override:
- php vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- if [ -z ${CODECLIMATE_REPO_TOKEN+x} ]; then echo "env CODECLIMATE_REPO_TOKEN not set"; else ./vendor/bin/test-reporter || echo 'Nothing sent, failed'; fi