.travis.yml
language: php
php:
- 7.0
# This triggers builds to run on the new TravisCI infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo:
- false
# Cache composer
cache:
directories:
- $HOME/.composer/cache
# Disable xdebug
before_install:
- if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then phpenv config-rm xdebug.ini; fi
install:
- travis_retry composer install --no-interaction --prefer-dist
script:
- vendor/bin/phpunit