circle.yml
## Customize the test machine
machine:
timezone: Europe/Berlin # Set the timezone
php:
version: 5.4.37
## Customize dependencies
dependencies:
pre:
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --no-interaction
- sed -i 's/^;//' ~/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini
## Customize test commands
test:
override:
- mkdir -p build/logs
- phpunit --configuration TestSuite/phpunit.xml --coverage-text --debug
- phpunit --configuration TestSuite/phpunit.xml --coverage-clover build/logs/clover.xml
- mkdir -p $CIRCLE_TEST_REPORTS/phpunit
- phpunit --configuration TestSuite/phpunit.xml --log-junit $CIRCLE_TEST_REPORTS/phpunit/junit.xml
## Specifying branches to build
general:
branches:
ignore:
- gh-pages