language: php
sudo: false
matrix:
fast_finish: true
include:
- php: "5.5"
env: USE_PSALM=0
- php: "5.6"
env: USE_PSALM=1
- php: "7.0"
env: USE_PSALM=1
- php: "7.1"
env: USE_PSALM=1
- php: "7.2"
env: USE_PSALM=1
- php: "nightly"
env: USE_PSALM=1
- php: "master"
env: USE_PSALM=1
- php: "hhvm"
env: USE_PSALM=1
allow_failures:
- php: "master"
- php: "hhvm"
install:
- composer self-update
- if [[ $USE_PSALM -eq 1 ]]; then composer require --dev "vimeo/psalm:1.1.3"; fi
- composer update
script:
- vendor/bin/phpunit
- if [[ $USE_PSALM -eq 1 ]]; then vendor/bin/psalm; fi
|