mirror of
https://github.com/zoe-may/TDoG-Skin.git
synced 2024-11-24 05:42:19 +08:00
30 lines
610 B
YAML
Executable File
30 lines
610 B
YAML
Executable File
language: php
|
|
|
|
php:
|
|
- 7.1
|
|
- 7.0
|
|
- 5.6
|
|
- 5.5
|
|
- 5.4
|
|
- hhvm
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- php: hhvm
|
|
fast_finish: true
|
|
include:
|
|
- php: 5.3
|
|
dist: precise
|
|
|
|
before_script:
|
|
- composer self-update
|
|
- composer install
|
|
|
|
script:
|
|
- ./vendor/bin/phpunit --coverage-clover=coverage.clover
|
|
- ./vendor/bin/phpcs --standard=PSR2 src/ tests/
|
|
|
|
after_script:
|
|
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi;'
|
|
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi'
|