.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
matrix:
fast_finish: true
sudo: false
cache:
directories:
- vendor
- $HOME/.composer/cache
install:
- travis_retry composer self-update && composer --version
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- travis_retry composer update --prefer-source --prefer-dist --no-interaction
script:
- find . -type f -name "*.php" | grep -v vendor | xargs -n 1 php -l
- vendor/bin/phpunit --verbose test
- make check-style