NelmioApiDocBundle/.travis.yml
Guilhem Niot 1f4dfb0b2b
Add FOSRestBundle 3.x support (#1637)
* Add FOSRestBundle 3.x support

* fix cs

* Update phpunit config

* Fix deprecations

* Fix tests when running with fosrest < 2.8

* revert change
2020-05-31 17:47:18 +02:00

39 lines
723 B
YAML

language: php
php:
- 7.1
- 7.2
- 7.3
- 7.4
sudo: false
cache:
directories:
- .phpunit
- $HOME/.composer/cache
matrix:
fast_finish: true
include:
- php: 7.1
env: COMPOSER_FLAGS="--prefer-lowest"
- php: 7.2
env: SYMFONY_VERSION=^3.4
- php: 7.3
env: SYMFONY_VERSION=^4.0
- php: 7.3
env: SYMFONY_VERSION=^5.0
- php: 7.4
env: SYMFONY_VERSION=^4.0
- php: 7.4
env: SYMFONY_VERSION=^5.0
before_install:
- phpenv config-rm xdebug.ini || true
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --dev --no-update; fi;
install: composer update --no-interaction $COMPOSER_FLAGS
script: ./phpunit