psalm-plugin-phpunit/.travis.yml
Bruce Weirdan 2d8f6443d5
install, then update
This appears to be a problem with composer update (solver)
2019-02-09 09:57:59 +02:00

22 lines
632 B
YAML

language: php
php:
- 7.3
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
script: composer check
env:
matrix:
- DEPS="low"
- DEPS="high"
- DEPS="stable"
global:
- DEFAULT_COMPOSER_FLAGS="--no-interaction --no-suggest"