mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-31 08:45:35 +02:00
30 lines
582 B
YAML
30 lines
582 B
YAML
language: php
|
|
|
|
sudo: false
|
|
dist: trusty
|
|
|
|
php:
|
|
- 5.4
|
|
- 5.5
|
|
- 5.6
|
|
- 7.0
|
|
- 7.1
|
|
- 7.2
|
|
- nightly
|
|
|
|
matrix:
|
|
include:
|
|
- dist: precise
|
|
php: 5.3
|
|
- dist: precise
|
|
php: 5.3
|
|
env: deps=low
|
|
fast_finish: true
|
|
|
|
before_script:
|
|
- if [[ $TRAVIS_PHP_VERSION = 5.* ]]; then echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi
|
|
- if [ "$deps" == "low" ]; then composer update --prefer-source --prefer-lowest --prefer-stable; fi
|
|
- if [ "$deps" != "low" ]; then composer install --prefer-source; fi
|
|
|
|
script: composer test
|