mirror of
https://github.com/stan220/WildcardEventDispatcher.git
synced 2026-09-08 15:28:37 +00:00
* Add PHP 7.3 to Travis * Prepare preg_replace() replacements by PHP version PHP 7.3+ requires the pattern to expect preg_quote() to escape `#` characters in the event pattern.
31 lines
444 B
YAML
31 lines
444 B
YAML
language: php
|
|
dist: trusty
|
|
sudo: false
|
|
|
|
php:
|
|
- 5.4
|
|
- 5.5
|
|
- 5.6
|
|
- 7.0
|
|
- 7.1
|
|
- 7.2
|
|
- 7.3
|
|
|
|
cache:
|
|
directories:
|
|
- ${HOME}/.composer/cache/files
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
- php: 5.3
|
|
dist: precise
|
|
env: COMPOSER_FLAGS="--prefer-lowest"
|
|
|
|
before_script:
|
|
- phpenv config-rm xdebug.ini
|
|
- composer update --no-interaction --no-progress --no-suggest ${COMPOSER_FLAGS}
|
|
|
|
script:
|
|
- vendor/bin/phpunit -v
|