baikal/.travis.yml
2017-10-09 22:29:52 +02:00

34 lines
576 B
YAML

language: php
dist: trusty
php:
- 5.5
- 5.6
- 7
- hhvm
matrix:
fast_finish: true
env:
matrix:
- LOWEST_DEPS=""
- LOWEST_DEPS="--prefer-lowest"
services:
- mysql
sudo: false
before_script:
# - mysql -e 'create database sabredav'
- rm -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
# - composer self-update
- composer update --prefer-source $LOWEST_DEPS
script:
- find Core -name "*.php" | xargs -n1 php -l
- ./vendor/bin/sabre-cs-fixer fix . --dry-run --diff
cache:
directories:
- $HOME/.composer/cache