|
|
@@ -4,7 +4,6 @@ sudo: false
|
|
|
|
|
|
php:
|
|
|
- 5.6
|
|
|
- - 7.0
|
|
|
- 7.3
|
|
|
|
|
|
env:
|
|
|
@@ -17,7 +16,7 @@ matrix:
|
|
|
fast_finish: true
|
|
|
|
|
|
include:
|
|
|
- - php: 7.1
|
|
|
+ - php: 7.0
|
|
|
env: DB=pgsql db_dsn='postgres://postgres@127.0.0.1/cakephp_test'
|
|
|
|
|
|
- php: 7.2
|
|
|
@@ -33,8 +32,10 @@ matrix:
|
|
|
env: CODECOVERAGE=1 DEFAULT=0
|
|
|
|
|
|
before_script:
|
|
|
+ - phpenv config-rm xdebug.ini
|
|
|
- if [[ $PREFER_LOWEST != 1 ]]; then composer install --prefer-source --no-interaction ; fi
|
|
|
- if [[ $PREFER_LOWEST == 1 ]]; then composer update --prefer-lowest --prefer-stable --prefer-dist --no-interaction ; fi
|
|
|
+ - if [[ $PREFER_LOWEST == 1 ]]; then composer require --dev dereuromark/composer-prefer-lowest; fi
|
|
|
|
|
|
- if [[ $CHECKS != 1 ]]; then composer require --dev phpunit/phpunit:"^5.7.14|^6.0"; fi
|
|
|
|
|
|
@@ -43,6 +44,7 @@ before_script:
|
|
|
|
|
|
script:
|
|
|
- if [[ $DEFAULT == 1 ]]; then vendor/bin/phpunit; fi
|
|
|
+ - if [[ $PREFER_LOWEST == 1 ]]; then vendor/bin/validate-prefer-lowest; fi
|
|
|
|
|
|
- if [[ $CHECKS == 1 ]]; then composer phpstan-setup && composer phpstan ; fi
|
|
|
- if [[ $CHECKS == 1 ]]; then composer cs-check ; fi
|