1
0
mirror of https://github.com/danog/magnaluna.git synced 2024-11-26 19:44:46 +01:00
magnaluna/.travis.yml

30 lines
443 B
YAML

sudo: false
language: php
php:
- 7.1
matrix:
allow_failures:
- php: nightly
fast_finish: true
env:
- AMP_DEBUG=true
before_install:
- phpenv config-rm xdebug.ini || echo "No xdebug config."
install:
- composer update -n --prefer-dist
script:
- PHP_CS_FIXER_IGNORE_ENV=1 php vendor/bin/php-cs-fixer --diff --dry-run -v fix
cache:
directories:
- $HOME/.composer/cache
- $HOME/.php-cs-fixer
- $HOME/.local