.travis.yml 358 B

12345678910111213141516171819
  1. language: php
  2. php:
  3. - 5.4
  4. - 5.3
  5. install:
  6. - composer install
  7. script:
  8. - mkdir -p build/logs
  9. - cd tests
  10. - phpunit --coverage-clover=../build/logs/clover.xml .
  11. - cd ../
  12. after_script:
  13. - php vendor/bin/coveralls -v
  14. - wget https://scrutinizer-ci.com/ocular.phar
  15. - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml