.travis.yml
language: php
sudo: false
matrix:
include:
- php: 5.5
env: PROCESS_CODECLIMATE=true
- php: 5.6
- php: 7.0
- php: nightly
- php: hhvm
env: IGNORE_XDEBUG=true
fast_finish: true
allow_failures:
- php: nightly
- php: hhvm
before_script:
- if [ -z "$IGNORE_XDEBUG" ];then phpenv config-rm xdebug.ini; fi
- travis_retry composer self-update
- travis_retry composer update --prefer-dist
- if [ -n "$PROCESS_CODECLIMATE" ];then echo 'zend_extension=xdebug.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi
script: ./test/bin/ci.bash summary
cache:
directories:
- vendor
- $HOME/.composer/cache