24 lines
461 B
YAML
24 lines
461 B
YAML
language: php
|
|
php:
|
|
- 5.6
|
|
- 5.5
|
|
- 5.4
|
|
- 5.3
|
|
- hhvm
|
|
- 7.0
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- php: hhvm
|
|
|
|
install:
|
|
- composer update --prefer-source
|
|
|
|
script:
|
|
- mkdir -p build/logs
|
|
- php vendor/bin/phpunit --coverage-clover=build/logs/clover.xml -c tests/phpunit.xml.dist
|
|
|
|
after_script:
|
|
- php vendor/bin/coveralls -v
|
|
- wget https://scrutinizer-ci.com/ocular.phar
|
|
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
|