Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (22 sloc) 571 Bytes
sudo: false
dist: trusty
cache:
directories:
- $COMPOSER_CACHE_DIR
- $HOME/.composer/cache
- $TRAVIS_BUILD_DIR/build
language: php
php:
- 5.5
- 5.6
- 7.0
- 7.1
services:
- redis-server
before_install:
- if [[ $TRAVIS_PHP_VERSION = "5.5" ]]; then echo yes | pecl install apcu-4.0.11; fi
- phpenv config-add install/travis-$TRAVIS_PHP_VERSION.ini
before_script:
- if [[ $TRAVIS_PHP_VERSION != "5.5" ]]; then phpenv config-rm xdebug.ini; fi
script:
- if [[ $TRAVIS_PHP_VERSION == "5.5" ]]; then make test-coveralls; else make test; fi