mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
36 lines
618 B
YAML
36 lines
618 B
YAML
language: php
|
|
|
|
php:
|
|
- 7.0
|
|
- 7.1
|
|
|
|
sudo: false
|
|
|
|
cache:
|
|
directories:
|
|
- .phpunit
|
|
- $HOME/.composer/cache
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- dev
|
|
- /^\d+\.\d+$/
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
- php: 7.0
|
|
env: COMPOSER_FLAGS="--prefer-lowest"
|
|
- php: 7.1
|
|
env: SF_4="true"
|
|
|
|
before_install:
|
|
- phpenv config-rm xdebug.ini
|
|
- if [ "$SF_4" == "true" ]; then composer config minimum-stability dev; fi
|
|
- if [ "$SF_4" == "true" ]; then composer require symfony/symfony:4.0.* --dev --no-update; fi
|
|
|
|
install: composer update $COMPOSER_FLAGS --prefer-stable
|
|
|
|
script: ./phpunit
|