mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-31 16:51:46 +02:00
25 lines
731 B
YAML
25 lines
731 B
YAML
language: php
|
|
|
|
sudo: false
|
|
|
|
matrix:
|
|
include:
|
|
- php: 5.3
|
|
- php: 5.3
|
|
env: deps=low
|
|
- php: 5.4
|
|
- php: 5.5
|
|
- php: 5.6
|
|
- php: 7
|
|
- php: 7.1
|
|
- php: hhvm
|
|
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 [ "`phpenv version-name`" != "hhvm" ]; then echo "extension = amqp.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
|