mirror of
https://github.com/danog/psalm-plugin-phpunit.git
synced 2024-11-27 12:35:02 +01:00
26 lines
738 B
YAML
26 lines
738 B
YAML
language: php
|
|
php:
|
|
- 7.1
|
|
- 7.2
|
|
- 7.3
|
|
- 7.4 # Psalm does not support 7.4 yet (uses Fn)
|
|
before_install:
|
|
- phpenv config-rm xdebug.ini || true
|
|
|
|
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
|
|
- ./vendor/bin/psalm --version
|
|
|
|
script: composer check
|
|
|
|
env:
|
|
matrix:
|
|
- DEPS="low"
|
|
- DEPS="high"
|
|
- DEPS="stable"
|
|
global:
|
|
- DEFAULT_COMPOSER_FLAGS="--no-interaction --no-suggest"
|