Skip to content

Commit

Permalink
Merge 2839cc7 into 8bb55b1
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremycr committed Mar 22, 2021
2 parents 8bb55b1 + 2839cc7 commit 6329e69
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 15 deletions.
36 changes: 22 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,17 @@ matrix:
- php: '7.2'
- php: '7.3'
- php: '7.4'
- php: '8.0'

# Enable code coverage with the previous supported PHP version
- php: '7.3'
- php: '7.4'
env:
- SYMFONY_VERSION=3.4.*
- COVERALLS_ENABLED="true"
- PHPUNIT_FLAGS="-v --coverage-text --coverage-clover var/build/clover.xml"

# Enable code coverage with the latest supported PHP version
- php: '7.4'
- php: '8.0'
env:
- SYMFONY_VERSION=3.4.*
- COVERALLS_ENABLED="true"
Expand All @@ -46,41 +47,45 @@ matrix:
- php: '7.1'
env:
- COMPOSER_FLAGS="--prefer-lowest"
- php: '7.3'
- php: '8.0'
env:
- COMPOSER_FLAGS="--prefer-lowest"

# Test each supported Symfony version with lowest supported PHP version
- php: '7.1'
env:
- SYMFONY_VERSION=3.4.*
- php: '7.1'
env:
- SYMFONY_VERSION=4.3.*
- php: '7.1'
env:
- SYMFONY_VERSION=4.4.*
- php: '7.2'
env:
- COVERALLS_ENABLED="true"
- PHPUNIT_FLAGS="-v --coverage-text --coverage-clover var/build/clover.xml"
- SYMFONY_VERSION=5.0.*

- SYMFONY_VERSION=5.2.*
# Test unsupported versions of Symfony
- php: '7.1'
env:
- SYMFONY_VERSION=4.1.*
- php: '7.1'
env:
- SYMFONY_VERSION=4.2.*


# Test upcoming Symfony versions with lowest supported PHP version and dev dependencies
- php: '7.1'
env:
- SYMFONY_VERSION=4.3.*
- php: '7.2'
env:
- SYMFONY_VERSION=5.0.*
- php: '7.2'
env:
- STABILITY=dev
- SYMFONY_VERSION=5.1.*

# Test upcoming Symfony versions with lowest supported PHP version and dev dependencies
# - php: '7.2'
# env:
# - STABILITY=dev
# - SYMFONY_VERSION=5.3.*

# Test upcoming PHP versions with dev dependencies
#- php: '7.5snapshot'
# env:
Expand All @@ -101,6 +106,9 @@ matrix:
- env:
- STABILITY=dev
- SYMFONY_VERSION=5.1.*
- env:
- STABILITY=dev
- SYMFONY_VERSION=5.2.*

before_install:
- if [[ "$SYMFONY_VERSION" != "" ]]; then
Expand All @@ -114,11 +122,11 @@ before_install:
phpenv config-rm xdebug.ini || true;
fi
- if [[ "$COVERALLS_ENABLED" == "true" ]]; then
travis_retry composer require --dev satooshi/php-coveralls:^2.0 --no-update $COMPOSER_FLAGS;
travis_retry composer require --dev php-coveralls/php-coveralls:^2.0 --no-update $COMPOSER_FLAGS;
fi

install:
- travis_retry composer update --prefer-dist --no-interaction --no-suggest --no-progress --ansi $COMPOSER_FLAGS
- travis_retry composer update --prefer-dist --no-interaction --no-progress --ansi $COMPOSER_FLAGS

script: ./vendor/bin/phpunit $PHPUNIT_FLAGS

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Version 2.3.0

* Added PHP 8 support

# Version 2.2.0

* Improve logging Dataflow job
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
}
},
"require": {
"php": "^7.1",
"php": "^7.1||^8.0",
"ext-json": "*",
"doctrine/dbal": "^2.0",
"doctrine/doctrine-bundle": "^1.0||^2.0",
Expand Down

0 comments on commit 6329e69

Please sign in to comment.