1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-31 08:45:35 +02:00
Files
php-monolog/.travis.yml
Jordi Boggiano 25049eea82 Fix travis config
2019-07-06 13:55:54 +02:00

30 lines
649 B
YAML

language: php
sudo: false
dist: trusty
php:
- 7.2
- 7.3
- 7.4snapshot
cache:
directories:
- $HOME/.composer/cache
matrix:
include:
- php: 7.2
env: deps=low
fast_finish: true
allow_failures:
- php: 7.4snapshot
before_script:
- echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo "extension = mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- if [ "$deps" == "low" ]; then composer update --prefer-dist --prefer-lowest --prefer-stable; fi
- if [ "$deps" != "low" ]; then composer install --prefer-dist; fi
script: composer test