Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

Commit

Permalink
Fixed Travis build composer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Yann Eugoné committed Aug 24, 2017
1 parent 331eae6 commit c70954d
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,19 @@ env:
- SYMFONY_VERSION="2.8.*"
- SYMFONY_VERSION="3.3.*"
- SYMFONY_VERSION="3.4.x-dev"
- SYMFONY_VERSION="4.0.x-dev"

matrix:
exclude:
# Symfony >= 3.4 PHP requirement is ^7.1.3
- php: 7.0
env: SYMFONY_VERSION="3.4.x-dev" # Symfony >= 3.4 PHP requirement is ^7.1.3
env: SYMFONY_VERSION="3.4.x-dev"
- php: 7.0
env: SYMFONY_VERSION="4.0.x-dev"
allow_failures:
- env: SYMFONY_VERSION="3.4.x-dev" # Symfony unstable version, allowed to fail
# Symfony unstable versions, allowed to fail
- env: SYMFONY_VERSION="3.4.x-dev"
- env: SYMFONY_VERSION="4.0.x-dev"

sudo: false

Expand All @@ -25,8 +31,7 @@ cache:

before_install:
- composer selfupdate
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/framework-bundle:${SYMFONY_VERSION}" --no-update; composer require "symfony/security-bundle:${SYMFONY_VERSION}" --no-update; composer require --dev "symfony/yaml:${SYMFONY_VERSION}" --no-update; fi;
- if [ "$SYMFONY_VERSION" == "3.4.x-dev" ]; then composer require "symfony/cache:${SYMFONY_VERSION}" --no-update; fi;
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;

install: composer update --prefer-dist --no-interaction $COMPOSER_FLAGS

Expand Down

0 comments on commit c70954d

Please sign in to comment.