1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-31 08:45:35 +02:00
Files
php-monolog/.travis.yml
2018-10-30 00:11:40 +02:00

30 lines
696 B
YAML

language: php
sudo: false
dist: trusty
php:
- 7.1
- 7.2
- 7.3
- nightly
cache:
directories:
- $HOME/.composer/cache
matrix:
include:
- php: 7.1
env: deps=low
fast_finish: true
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
- echo "extension = amqp.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