Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ php:

matrix:
include:
- php: 5.3
env: COMPOSER_OPTIONS="--prefer-lowest"
- php: 7.0
env: COMPOSER_OPTIONS="--prefer-lowest"
- php: 7.1
env: TEST_COVERAGE=true
allow_failures:
Expand All @@ -26,7 +30,7 @@ before_install:
- composer self-update
- if [[ $TEST_COVERAGE ]]; then PHPUNIT_FLAGS="--coverage-clover clover.xml"; fi

install: travis_retry composer install --no-interaction --prefer-dist
install: travis_retry composer update --no-interaction --prefer-dist --prefer-stable $COMPOSER_OPTIONS

script:
- vendor/bin/phpunit -v $PHPUNIT_FLAGS
Expand Down
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
"require": {
"php": ">=5.3.3",
"sentry/sentry": ">=1.5.0",
"symfony/framework-bundle": ">=2.4.0"
"symfony/config": "^2.4|^3.0",
"symfony/console": "^2.4|^3.0",
"symfony/dependency-injection": "^2.4|^3.0",
"symfony/event-dispatcher": "^2.4|^3.0",
"symfony/http-kernel": "^2.4|^3.0",
"symfony/security-core": "^2.4|^3.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^1.8.0",
Expand Down