psalm-plugin-phpunit/.travis.yml

52 lines
1.3 KiB
YAML
Raw Normal View History

2019-02-09 08:05:05 +01:00
language: php
php:
2020-04-01 22:49:19 +02:00
- 7.3
- 7.4
- nightly
2019-02-09 08:05:05 +01:00
before_install:
2020-04-01 22:49:19 +02:00
- phpenv config-rm xdebug.ini || true
2019-02-09 08:05:05 +01:00
install:
- composer config --global discard-changes true
2020-03-30 06:10:02 +02:00
- travis_retry composer install
- if [[ "$DEPS" = 'high' || "$DEPS" = 'dev' ]]; then travis_retry composer $DEFAULT_COMPOSER_FLAGS update; fi
2020-03-30 05:16:37 +02:00
- if [[ "$DEPS" = 'high' ]]; then composer require $DEFAULT_COMPOSER_FLAGS --prefer-stable --update-with-dependencies vimeo/psalm; fi
2019-02-09 08:05:05 +01:00
- 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:
global:
2020-04-01 22:49:19 +02:00
- DEFAULT_COMPOSER_FLAGS="--no-interaction --no-suggest"
jobs:
- DEPS="low"
- DEPS="high"
- DEPS="stable"
- DEPS="dev"
cache:
directories:
- $HOME/.composer/cache/files
- $HOME/.composer/cache/vcs
2020-04-01 22:49:19 +02:00
jobs:
allow_failures:
- php: 7.1
env: DEPS="dev"
- php: 7.2
env: DEPS="dev"
- php: 7.3
env: DEPS="dev"
- php: 7.4
env: DEPS="dev"
2020-09-19 11:36:20 +02:00
- php: nightly
env: DEPS="low"
- php: nightly
env: DEPS="high"
- php: nightly
env: DEPS="stable"
- php: nightly
env: DEPS="dev"