44 lines
656 B
YAML
44 lines
656 B
YAML
sudo: false
|
|
|
|
language: php
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.composer/cache/files
|
|
|
|
php:
|
|
- 5.4
|
|
- 5.5
|
|
- 5.6
|
|
- 7.0
|
|
- 7.1
|
|
- 7.2
|
|
- hhvm
|
|
|
|
env:
|
|
global:
|
|
- deps=high
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
- php: 5.3
|
|
dist: precise
|
|
- php: 5.3
|
|
dist: precise
|
|
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
|
|
- composer test -- --coverage-clover build/logs/clover.xml
|
|
|