Linting with travis (we have to start somewhere)

This commit is contained in:
Evert Pot 2016-01-21 13:03:23 -05:00
parent 399ecf62ee
commit 77587b69a1

33
.travis.yml Normal file
View file

@ -0,0 +1,33 @@
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7
- hhvm
matrix:
fast_finish: true
env:
matrix:
- LOWEST_DEPS=""
- LOWEST_DEPS="--prefer-lowest"
services:
- mysql
sudo: false
cache: vendor
before_script:
# - mysql -e 'create database sabredav'
# - composer self-update
- composer update --prefer-source $LOWEST_DEPS
script:
- find Core -name "*.php" | xargs -n1 php -l
# - ./bin/sabre-cs-fixer fix lib/ --dry-run --diff