Skip to content

Commit

Permalink
Test on Travis CI using different Symfony versions
Browse files Browse the repository at this point in the history
  • Loading branch information
pamil committed Aug 20, 2018
1 parent f459125 commit be719a5
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,25 @@ php:
- 7.2

env:
- SYLIUS_VERSION=1.1.*
- SYLIUS_VERSION=1.2.*
- SYLIUS_VERSION=1.3.*@dev
- SYLIUS_VERSION=1.1.* SYMFONY_VERSION=3.4.*
- SYLIUS_VERSION=1.2.* SYMFONY_VERSION=3.4.*
- SYLIUS_VERSION=1.2.* SYMFONY_VERSION=4.1.*
- SYLIUS_VERSION=1.3.*@dev SYMFONY_VERSION=3.4.*
- SYLIUS_VERSION=1.3.*@dev SYMFONY_VERSION=4.1.*

matrix:
allow_failures:
-
env: SYLIUS_VERSION=1.3.*@dev
env: SYLIUS_VERSION=1.3.*@dev SYMFONY_VERSION=3.4.*
-
env: SYLIUS_VERSION=1.3.*@dev SYMFONY_VERSION=4.1.*
exclude:
-
php: 7.1
env: SYLIUS_VERSION=1.3.*@dev SYMFONY_VERSION=3.4.*
-
php: 7.1
env: SYLIUS_VERSION=1.3.*@dev SYMFONY_VERSION=4.1.*
fast_finish: true

cache:
Expand All @@ -25,6 +36,7 @@ before_install:

install:
- composer require sylius/sylius:${SYLIUS_VERSION} --no-interaction --no-update
- composer require symfony/symfony:${SYMFONY_VERSION} --no-interaction --no-update
- composer update --no-interaction --prefer-dist

before_script:
Expand Down

0 comments on commit be719a5

Please sign in to comment.