29 lines
686 B
YAML
29 lines
686 B
YAML
language: php
|
|
|
|
php:
|
|
- 5.3.3
|
|
- 5.3
|
|
- 5.4
|
|
- 5.5
|
|
- 5.6
|
|
- hhvm
|
|
- hhvm-nightly
|
|
|
|
before_script:
|
|
- sh .travis.install.sh
|
|
|
|
script:
|
|
- ./vendor/bin/phpunit --disallow-test-output --report-useless-tests --coverage-clover ./clover.xml --group=Coverage
|
|
- ./vendor/bin/phpunit --disallow-test-output --report-useless-tests --strict --exclude-group=Performance,Coverage
|
|
- php -n ./vendor/bin/phpunit --group=Performance
|
|
- ./vendor/bin/phpcs --standard=PSR2 ./src/ ./tests/
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- php: hhvm
|
|
- php: hhvm-nightly
|
|
|
|
after_script:
|
|
- wget https://scrutinizer-ci.com/ocular.phar
|
|
- php ocular.phar code-coverage:upload --format=php-clover ./clover.xml
|