Skip to content
Closed
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
19 changes: 14 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,27 @@ matrix:
include:
- php: 5.5
env:
- COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
- PHPUNIT_FLAGS="--coverage-clover build/logs/clover.xml"
- DEPENDENCIES='low'
- php: 5.6
env:
- DEPENDENCIES='low'
- php: 7.0
env:
- SYMFONY_VERSION='^4.0'
- php: 7.1
env:
- SYMFONY_VERSION='^4.0'

before_install:
- travis_retry composer self-update

install:
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update "symfony/process:${SYMFONY_VERSION}"; fi;
- if [ "$DEPENDENCIES" != "low" ]; then composer update; fi;
- if [ "$DEPENDENCIES" = "low" ]; then composer update --prefer-lowest; fi;

script:
- mkdir -p build/logs
- vendor/bin/phpunit ${PHPUNIT_FLAGS}
- vendor/bin/phpunit

after_script:
- php vendor/bin/coveralls -v
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"require": {
"php": ">=5.5",
"symfony/process": "^2.5|^3.0"
"symfony/process": "^2.5|^3.0|^4.0"
},
"require-dev": {
"phpunit/phpunit": "^4.8.24",
Expand Down