Skip to content

Commit

Permalink
Merge pull request #22 from pamil/symfony4
Browse files Browse the repository at this point in the history
Add support for Symfony 4
  • Loading branch information
pamil authored Feb 13, 2018
2 parents beb15df + bedee67 commit 61b77f0
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,23 @@ language: php

php:
- 7.1
- 7.2

env:
- SYMFONY_VERSION=~3.3.0
- SYMFONY_VERSION=~3.4.0 MINIMUM_STABILITY=beta
- SYMFONY_VERSION=~4.0.0 MINIMUM_STABILITY=beta
- SYMFONY_VERSION=3.3.*
- SYMFONY_VERSION=3.4.*
- SYMFONY_VERSION=4.0.*

cache:
directories:
- vendor
- ~/.composer/cache/files

before_install:
- phpenv config-rm xdebug.ini || true

- |
if [[ ! -z $MINIMUM_STABILITY ]]; then
composer config minimum-stability $MINIMUM_STABILITY
fi
- composer require --no-update symfony/http-kernel:$SYMFONY_VERSION symfony/framework-bundle:$SYMFONY_VERSION

install:
- composer require symfony/http-kernel:${SYMFONY_VERSION} --no-update --no-scripts --prefer-dist
- composer require --dev symfony/framework-bundle:${SYMFONY_VERSION} --no-update --no-scripts --prefer-dist
- composer update --prefer-dist

script:
Expand Down

0 comments on commit 61b77f0

Please sign in to comment.