2019-02-09 08:05:05 +01:00
|
|
|
language: php
|
|
|
|
php:
|
|
|
|
- 7.3
|
|
|
|
before_install:
|
|
|
|
- phpenv config-rm xdebug.ini || true
|
|
|
|
|
|
|
|
install:
|
2019-02-09 08:51:59 +01:00
|
|
|
- composer install
|
2019-02-09 08:05:05 +01:00
|
|
|
- if [[ "$DEPS" = 'high' ]]; then travis_retry composer $DEFAULT_COMPOSER_FLAGS update; fi
|
|
|
|
- if [[ "$DEPS" = 'low' ]]; then travis_retry composer $DEFAULT_COMPOSER_FLAGS --prefer-lowest --prefer-stable update; fi
|
|
|
|
- if [[ "$DEPS" = 'stable' ]]; then travis_retry composer $DEFAULT_COMPOSER_FLAGS --prefer-stable update; fi
|
2019-02-11 04:46:15 +01:00
|
|
|
- ./vendor/bin/psalm --version
|
2019-02-09 08:05:05 +01:00
|
|
|
|
|
|
|
script: composer check
|
|
|
|
|
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
- DEPS="low"
|
|
|
|
- DEPS="high"
|
|
|
|
- DEPS="stable"
|
|
|
|
global:
|
|
|
|
- DEFAULT_COMPOSER_FLAGS="--no-interaction --no-suggest"
|