mirror of
https://github.com/Respect/Validation.git
synced 2024-06-01 05:12:50 +02:00
e1678be8f2
* composer require --dev malukenho/docheader * Add license layout * Add check license to the build
30 lines
619 B
YAML
30 lines
619 B
YAML
sudo:
|
|
false
|
|
|
|
language:
|
|
php
|
|
|
|
php:
|
|
- 5.6
|
|
- 7.0
|
|
- 7.1
|
|
- hhvm
|
|
|
|
before_script:
|
|
- composer self-update
|
|
- composer install --no-interaction --prefer-source
|
|
|
|
script:
|
|
- vendor/bin/phpunit --configuration phpunit.xml.dist --colors --coverage-clover=coverage.clover
|
|
- vendor/bin/docheader check library tests
|
|
|
|
after_script:
|
|
- test "5.6" == "${TRAVIS_PHP_VERSION}" && wget https://scrutinizer-ci.com/ocular.phar
|
|
- test -f ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover
|
|
|
|
notifications:
|
|
irc:
|
|
channels:
|
|
- "irc.freenode.org#php-respect"
|
|
use_notice: true
|