language: php

php:
 - 5.4
 - 5.5

before_script:
 - composer install --dev

script:
 - ./vendor/bin/phpunit --bootstrap vendor/autoload.php Tests/Units
 - ./vendor/bin/behat -c behat.ci.yml
language: php

php:
 - 5.4
 - 5.5

before_script:
 - composer install --dev

script:
 - ./vendor/bin/phpunit --bootstrap vendor/autoload.php --coverage-clover build/logs/coverage.clover Tests/Units
 - ./vendor/bin/behat -c behat.ci.yml

after_script:
 - wget https://scrutinizer-ci.com/ocular.phar
 - php ocular.phar code-coverage:upload --format=php-clover build/logs/coverage.clover
Allow Travis CI to send code coverage to Scrutinizer
Allow Travis CI to send code coverage to Scrutinizer
