Linting with travis (we have to start somewhere)
This commit is contained in:
parent
399ecf62ee
commit
77587b69a1
1 changed files with 33 additions and 0 deletions
33
.travis.yml
Normal file
33
.travis.yml
Normal 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
|
||||
|
Loading…
Add table
Reference in a new issue