add travis config

This commit is contained in:
Ralf Becker 2016-05-29 15:41:12 +02:00
parent 9abc9beb0f
commit aa44e999c0

35
.travis.yml Normal file
View File

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