2017-05-03 18:05:35 +02:00
|
|
|
language: php
|
|
|
|
sudo: false
|
|
|
|
php:
|
|
|
|
- 7.0
|
2017-05-09 23:25:23 +02:00
|
|
|
- 7.1
|
2019-01-30 12:10:26 +01:00
|
|
|
- 7.2
|
2017-05-03 18:05:35 +02:00
|
|
|
- hhvm
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- php: 5.6
|
|
|
|
env: COVERALLS=true
|
|
|
|
allow_failures:
|
|
|
|
- php: hhvm
|
2017-05-09 23:25:23 +02:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- composer install
|
|
|
|
|
|
|
|
script:
|
2019-01-30 12:10:26 +01:00
|
|
|
- ./vendor/bin/psalm
|
2017-05-09 23:25:23 +02:00
|
|
|
- ./vendor/phpunit/phpunit/phpunit -c phpunit.xml
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
- test -z $COVERALLS || (composer require satooshi/php-coveralls && vendor/bin/coveralls -v)
|