Skip to content

Commit

Permalink
Introduce Travis matrix includes
Browse files Browse the repository at this point in the history
The goal is to test the library against multiple versions of Symfony and with lowest dependencies.
  • Loading branch information
soullivaneuh committed Jun 1, 2016
1 parent 150d5de commit 1485439
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ php:
# Commands to be run before your environment runs.
before_script:
- composer self-update
- if [ "$SYMFONY" != "" ]; then composer require "symfony/symfony:${SYMFONY}" --no-update; fi;
- composer update --prefer-source --no-interaction


Expand All @@ -28,6 +29,15 @@ matrix:
# - php: 7
# - php: hhvm
fast_finish: true
include:
- php: '7.0'
env: COMPOSER_FLAGS="--prefer-lowest"
- php: '7.0'
env: SYMFONY=2.8.*
- php: '7.0'
env: SYMFONY=3.0.*
- php: '7.0'
env: SYMFONY=3.1.*

# Customize when the notification emails are sent.
notifications:
Expand Down

0 comments on commit 1485439

Please sign in to comment.