2012-05-24 02:20:15 +02:00
|
|
|
language: php
|
|
|
|
|
2019-02-25 05:10:37 +01:00
|
|
|
matrix:
|
2021-12-11 17:19:39 +01:00
|
|
|
include:
|
|
|
|
- php: 5.6
|
|
|
|
dist: xenial
|
|
|
|
- php: 7.0
|
|
|
|
dist: xenial
|
|
|
|
- php: 7.1
|
|
|
|
dist: xenial
|
|
|
|
- php: 7.2
|
|
|
|
dist: xenial
|
|
|
|
- php: 7.3
|
|
|
|
dist: xenial
|
|
|
|
- php: 7.4
|
|
|
|
dist: xenial
|
|
|
|
- php: 8.0
|
|
|
|
dist: bionic
|
|
|
|
- php: 8.1.0
|
|
|
|
dist: bionic
|
|
|
|
- php: nightly
|
|
|
|
dist: bionic
|
2019-02-25 05:10:37 +01:00
|
|
|
allow_failures:
|
|
|
|
- php: nightly
|
|
|
|
|
2021-12-11 17:19:39 +01:00
|
|
|
before_install: true
|
|
|
|
|
2014-08-04 12:59:53 +02:00
|
|
|
install:
|
2021-04-17 07:31:54 +02:00
|
|
|
- phpenv config-rm xdebug.ini
|
2014-12-10 00:47:45 +01:00
|
|
|
- eval `ssh-agent -s`
|
2014-03-03 01:43:58 +01:00
|
|
|
- travis/setup-secure-shell.sh
|
2016-09-24 18:57:59 +02:00
|
|
|
- sh -c "if [ '$TRAVIS_PHP_VERSION' != 'hhvm' -a `php -r "echo (int) version_compare(PHP_VERSION, '7.0', '<');"` = "1" ]; then travis/install-php-extensions.sh; fi"
|
2015-02-07 16:44:23 +01:00
|
|
|
- travis/setup-composer.sh
|
2013-01-12 03:03:07 +01:00
|
|
|
|
2012-05-24 02:20:15 +02:00
|
|
|
script:
|
2022-02-17 03:25:59 +01:00
|
|
|
- sh -c "if [ -d build/vendor ]; then build/vendor/bin/phpcs --standard=build/phpcs_ruleset.xml; fi"
|
2022-01-30 16:34:42 +01:00
|
|
|
- sh -c "if [ -d build/vendor ]; then build/vendor/bin/php-cs-fixer fix --config=build/php-cs-fixer.php --diff --dry-run; fi"
|
2022-01-30 18:20:45 +01:00
|
|
|
- sh -c "if [ -d build/vendor ]; then build/vendor/bin/psalm --config="build/psalm.xml" --no-cache --long-progress --report-show-info=false --output-format=text; fi"
|
2014-03-03 02:10:01 +01:00
|
|
|
- travis/run-phpunit.sh
|