36 lines
527 B
YAML
36 lines
527 B
YAML
sudo: false
|
|
|
|
language: php
|
|
|
|
php:
|
|
- 5.3
|
|
- 5.4
|
|
- 5.5
|
|
- 5.6
|
|
- 7.0
|
|
- hhvm
|
|
|
|
env:
|
|
global:
|
|
- deps=high
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
- php: 5.3
|
|
env: deps=low
|
|
- php: 5.4
|
|
env: deps=no
|
|
- php: 5.5
|
|
env: deps=no
|
|
|
|
install:
|
|
- if [ "$deps" = "no" ]; then composer install; fi
|
|
- if [ "$deps" = "low" ]; then composer update --prefer-lowest; fi
|
|
- if [ "$deps" = "high" ]; then composer update; fi
|
|
|
|
script:
|
|
- mkdir -p build/logs
|
|
- phpunit --coverage-clover build/logs/clover.xml
|
|
|