.travis.yml
language: php
php:
- 5.5
install: composer install
script: phpunit --coverage-clover build/logs/clover.xml
after_script:
- CODECLIMATE_REPO_TOKEN="aca2b01aaa74cb142d590b26c267141eb31c477cad2b6f907e312bf3fc82ce96" 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 v0.1.1)' https://codeclimate.com/test_reports"