2016-01-21 13:03:23 -05:00
|
|
|
language: php
|
2017-10-09 16:29:52 -04:00
|
|
|
dist: trusty
|
2016-01-21 13:03:23 -05:00
|
|
|
php:
|
|
|
|
- 5.5
|
|
|
|
- 5.6
|
|
|
|
- 7
|
2018-04-18 14:45:23 -04:00
|
|
|
- 7.2
|
2016-01-21 13:03:23 -05:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
- LOWEST_DEPS=""
|
|
|
|
- LOWEST_DEPS="--prefer-lowest"
|
|
|
|
|
|
|
|
services:
|
|
|
|
- mysql
|
|
|
|
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
# - mysql -e 'create database sabredav'
|
2016-03-17 09:34:42 -04:00
|
|
|
- rm -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
|
2016-01-21 13:03:23 -05:00
|
|
|
# - composer self-update
|
|
|
|
- composer update --prefer-source $LOWEST_DEPS
|
|
|
|
|
|
|
|
script:
|
|
|
|
- find Core -name "*.php" | xargs -n1 php -l
|
2016-03-12 20:19:48 -05:00
|
|
|
- ./vendor/bin/sabre-cs-fixer fix . --dry-run --diff
|
2016-01-21 13:03:23 -05:00
|
|
|
|
2016-04-01 17:03:40 -04:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.composer/cache
|