.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
script: phpunit --coverage-clover build/logs/clover.xml
before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev
after_script:
- php vendor/bin/test-reporter --stdout > codeclimate.json
- 'curl -X POST -d @codeclimate.json -H "Content-Type: application/json" -H "User-Agent: Code Climate (PHP Test Reporter v1.0.1-dev)" https://codeclimate.com/test_reports'
addons:
code_climate:
repo_token: a20da8feeecfb2896f82c7b88f1de5582795ee8efce8bbd0100ce8f99291524d