2012-12-31 03:01:19 +05:30
|
|
|
language: php
|
|
|
|
|
2017-06-17 03:39:13 +05:30
|
|
|
dist: trusty
|
2015-03-23 04:49:36 +05:30
|
|
|
sudo: false
|
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
2018-02-12 14:49:16 +05:30
|
|
|
- vendor
|
|
|
|
|
|
|
|
env:
|
|
|
|
- DEPENDENCIES=""
|
|
|
|
- DEPENDENCIES="--prefer-lowest --prefer-stable"
|
2015-03-23 04:49:36 +05:30
|
|
|
|
2012-12-31 03:01:19 +05:30
|
|
|
php:
|
2015-03-04 03:30:47 +05:30
|
|
|
- 7.0
|
2016-10-16 21:18:44 +05:30
|
|
|
- 7.1
|
2017-12-01 07:22:50 +05:30
|
|
|
- 7.2
|
2018-12-07 05:16:28 +05:30
|
|
|
- 7.3
|
2014-01-16 22:23:44 +05:30
|
|
|
|
2014-11-09 00:06:59 +05:30
|
|
|
install:
|
2018-02-12 14:49:16 +05:30
|
|
|
- composer update --no-interaction --prefer-dist $DEPENDENCIES
|
2014-05-03 15:48:09 +05:30
|
|
|
|
|
|
|
script:
|
2018-02-18 21:03:41 +05:30
|
|
|
- vendor/bin/phpunit --coverage-clover=coverage.clover
|
2018-02-19 01:47:32 +05:30
|
|
|
- vendor/bin/phpstan analyse -l 7 -c phpstan.neon src tests
|
2015-04-05 22:51:57 +05:30
|
|
|
|
2018-02-18 21:03:41 +05:30
|
|
|
after_script:
|
|
|
|
- wget https://scrutinizer-ci.com/ocular.phar
|
|
|
|
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
|
|
|
|
|
2014-12-11 19:55:35 +05:30
|
|
|
branches:
|
|
|
|
only:
|
2016-10-16 21:18:44 +05:30
|
|
|
- master
|
2018-05-23 21:09:55 +05:30
|
|
|
- 8.0.0
|