You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
818 B
40 lines
818 B
language: php
|
|
|
|
sudo: false
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.composer/cache
|
|
|
|
branches:
|
|
except:
|
|
- /^bugfix\/.*$/
|
|
- /^feature\/.*$/
|
|
- /^optimization\/.*$/
|
|
|
|
matrix:
|
|
include:
|
|
- php: 5.3
|
|
- php: 5.4
|
|
- php: 5.5
|
|
- php: 5.6
|
|
env: DEPENDENCIES='low'
|
|
- php: 5.6
|
|
- php: 7.0
|
|
- php: 7.1
|
|
# Use the newer stack for HHVM as HHVM does not support Precise anymore since a long time and so Precise has an outdated version
|
|
- php: hhvm
|
|
sudo: required
|
|
dist: trusty
|
|
group: edge
|
|
fast_finish: true
|
|
|
|
install:
|
|
- export COMPOSER_ROOT_VERSION=dev-master
|
|
- if [ "$DEPENDENCIES" != "low" ]; then composer update; fi;
|
|
- if [ "$DEPENDENCIES" == "low" ]; then composer update --prefer-lowest; fi;
|
|
|
|
script:
|
|
- vendor/bin/phpspec run -fpretty -v
|
|
- vendor/bin/phpunit
|