Skip to content

Commit

Permalink
allow symfony 5 and test with php 7.3 and 7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Jan 28, 2020
1 parent ee4dc14 commit 1494881
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 19 deletions.
27 changes: 10 additions & 17 deletions .travis.yml
Expand Up @@ -22,38 +22,31 @@ matrix:
fast_finish: true
include:
# Minimum supported dependencies with min and max PHP version
- php: 7.2
- php: 7.0
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
- php: 7.4
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest"

# Latest supported dependencies with each PHP version
- php: 7.0
- php: 7.1
- php: 7.2
- php: 7.3
- php: 7.4
env: COVERAGE=true PHPUNIT_FLAGS="-v --coverage-text"

# Testing with SF 4.4 (current and minimum supported version)
- php: 7.2
- php: 7.4
env: SYMFONY_REQUIRE=4.3.*
- php: 7.4
env: SYMFONY_REQUIRE=4.4.*
- php: 7.2
env:
- SYMFONY_REQUIRE=4.4.*
- COMPOSER_FLAGS="--prefer-stable --prefer-lowest"

# Testing with SF 3.4 (current and minimum supported version)
- php: 7.2
env: SYMFONY_REQUIRE=3.4.*
- php: 7.2
env:
- SYMFONY_REQUIRE=3.4.*
- COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
- php: 7.4
env: SYMFONY_REQUIRE=5.0.*

before_install:
- if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi
- composer global require --no-progress --no-scripts --no-plugins symfony/flex

install:
# To be removed when this issue will be resolved: https://github.com/composer/composer/issues/5355
- if [[ "$COMPOSER_FLAGS" == *"--prefer-lowest"* ]]; then composer update --prefer-dist --no-interaction --prefer-stable --quiet; fi
- composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction
- ./vendor/bin/simple-phpunit install

Expand Down
3 changes: 2 additions & 1 deletion changelog.md
Expand Up @@ -7,12 +7,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased](https://github.com/rokka-io/rokka-client-bundle/compare/1.1.2...master)
### Added
### Changed
- Added support for Symfony 5
### Deprecated
### Fixed
### Removed
### Security
- Updated dependencies (rokka/client, symfony/framework-bundle)
- Dropped support for SF 2.x
- Dropped support for Symfony 2.x
- Dropped support for PHP 5.6

## [1.1.2](https://github.com/rokka-io/rokka-client-bundle/releases/tag/1.1.2) - 2019-05-19
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -33,7 +33,7 @@
"php": "^7.0",
"rokka/client": "^1.10",
"rokka/client-cli": "^1.8",
"symfony/framework-bundle": "^3.4.26 || ^4.2"
"symfony/framework-bundle": "^3.4.26 || ^4.3 || ^5.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^2.0",
Expand Down

0 comments on commit 1494881

Please sign in to comment.