Permalink
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (22 sloc) 688 Bytes
language: php
sudo: false
dist: trusty
php:
- 7.1
- 7.2
- 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