psalm-plugin-symfony/.travis.yml
2020-03-13 18:34:09 +03:00

28 lines
670 B
YAML

language: php
php:
- 7.1
- 7.2
- 7.3
- 7.4
before_install:
- phpenv config-rm xdebug.ini || true
- composer validate
install:
- composer install
- 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
script: composer check
env:
matrix:
- DEPS="low"
- DEPS="high"
- DEPS="stable"
global:
- DEFAULT_COMPOSER_FLAGS="--no-interaction --no-suggest --prefer-dist"