21 lines
541 B
YAML
21 lines
541 B
YAML
language: php
|
|
|
|
php: [5.3, 5.4, 5.5, 5.6, hhvm]
|
|
|
|
matrix:
|
|
include:
|
|
- php: 5.5
|
|
env: SYMFONY_VERSION='2.3.*'
|
|
- php: 5.5
|
|
env: SYMFONY_VERSION='2.5.*@dev'
|
|
|
|
before_script:
|
|
- sh -c 'if [ "$SYMFONY_VERSION" != "" ]; then composer require -n --no-update symfony/symfony=$SYMFONY_VERSION; fi;'
|
|
- composer install -n --prefer-source
|
|
|
|
script: phpunit -v --coverage-clover=coverage.clover
|
|
|
|
after_script:
|
|
- wget https://scrutinizer-ci.com/ocular.phar
|
|
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
|