1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-31 16:51:46 +02:00
Files
php-monolog/.travis.yml
2020-05-22 09:27:32 +02:00

36 lines
955 B
YAML

language: php
matrix:
fast_finish: true
include:
- dist: precise
php: 5.3
env: deps=low
- dist: precise
php: 5.3
- php: 5.4
dist: trusty
- php: 5.5
dist: trusty
- php: 5.6
dist: xenial
- php: 7.0
dist: xenial
- php: 7.1
dist: bionic
- php: 7.2
dist: bionic
- php: 7.3
dist: bionic
- php: 7.4
dist: bionic
before_script:
- if [[ $TRAVIS_PHP_VERSION = 5.* ]]; then echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi
- if [ "$TRAVIS_PHP_VERSION" == "7.4" ]; then echo "error_reporting = E_ALL & ~E_DEPRECATED" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi
- composer self-update --snapshot
- if [ "$deps" == "low" ]; then composer update -n --prefer-dist --prefer-lowest --prefer-stable; fi
- if [ "$deps" != "low" ]; then composer update -n --prefer-dist; fi
script: composer test