language: php
sudo: false
php:
- "7.2"
- "7.3"
- "7.4"
- "8.0"
- "nightly"
matrix:
fast_finish: true
allow_failures:
- php: "8.0"
- php: "nightly"
os:
- linux
install:
- travis_retry composer install --no-interaction
script:
- ./vendor/bin/phpcs --standard=psr2 src/
- ./vendor/bin/phpunit --coverage-text
- ./vendor/bin/psalm
cache:
directories:
- vendor
- $HOME/.cache/composer
|