2016-05-29 15:41:12 +02:00
|
|
|
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
|
2016-05-29 15:48:51 +02:00
|
|
|
# - postgres
|
2016-05-29 15:41:12 +02:00
|
|
|
|
2016-05-30 18:31:46 +02:00
|
|
|
sudo: required
|
2016-05-30 18:43:03 +02:00
|
|
|
dist: trusty
|
2016-05-30 18:27:31 +02:00
|
|
|
|
2016-05-29 15:41:12 +02:00
|
|
|
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
|
2016-05-30 18:31:46 +02:00
|
|
|
- sudo apt-get update -qq
|
2016-05-30 19:40:36 +02:00
|
|
|
- sudo apt-get install -y myrepos
|
2016-05-30 18:19:48 +02:00
|
|
|
- mr --trust-all --stats up
|
2016-05-29 15:41:12 +02:00
|
|
|
|
|
|
|
script:
|
2016-05-30 18:19:48 +02:00
|
|
|
#- find . -name "*.php" | xargs -n1 php -l
|
|
|
|
./doc/php_syntax_check.sh
|
2016-05-29 15:41:12 +02:00
|
|
|
#- ./vendor/bin/sabre-cs-fixer fix . --dry-run --diff
|
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.composer/cache
|