Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (26 sloc) 568 Bytes
language: php
cache:
directories:
- $HOME/.composer/cache/files
- $HOME/.php-cs-fixer
git:
depth: 5
sudo: false
php:
- 5.6
- 7.0
- 7.1
- hhvm
- nightly
matrix:
fast_finish: true
allow_failures:
- php: hhvm
- php: nightly
install:
- composer install --no-interaction --no-progress --prefer-dist --optimize-autoloader
before_script:
- mkdir -p "$HOME/.php-cs-fixer"
script:
- vendor/bin/phpunit
- vendor/bin/php-cs-fixer fix --cache-file "$HOME/.php-cs-fixer/.php_cs.cache" --dry-run --allow-risky true --diff --verbose