mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 09:38:53 +01:00
46 lines
975 B
YAML
46 lines
975 B
YAML
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:
|
|
- memcached
|
|
# - mysql
|
|
# - postgres
|
|
|
|
sudo: required
|
|
dist: trusty
|
|
# this fixes hhvm builds according to https://docs.travis-ci.com/user/languages/php#HHVM-versions-on-Trusty
|
|
group: edge
|
|
|
|
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
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -y myrepos
|
|
- mr --trust-all --stats up
|
|
# installing phpunit in version suitable for used PHP version
|
|
- composer update phpunit/phpunit
|
|
|
|
script:
|
|
- ./doc/php_syntax_check.sh
|
|
# Ubuntu has problems with #!/usr/bin/evn php, it stalls forever
|
|
- php -dapc.enable_cli=1 doc/test-cli.php
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.composer/cache |