Skip to content

Commit

Permalink
Use semver for PHP version at composer.json, added support for PHP …
Browse files Browse the repository at this point in the history
…7.3 at Travis
  • Loading branch information
phansys committed Mar 15, 2019
1 parent 1a0c122 commit 5539c14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ matrix:
env: SYMFONY_VERSION="4.1.*"
- php: 7.2
env: SYMFONY_VERSION="4.2.*" SYMFONY_DEPRECATIONS_HELPER="weak" STABILITY="dev"
- php: 7.3
- php: nightly
allow_failures:
- php: hhvm
Expand All @@ -47,6 +48,7 @@ env:
before_install:
- phpenv config-rm xdebug.ini || true
- if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;
- php -i | grep -i --color=never "Redis Version"
- if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then phpenv rehash; fi;
- composer self-update
- if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; fi;
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"homepage": "https://github.com/snc/SncRedisBundle/contributors"
}],
"require": {
"php": ">=5.3.3",
"php": "^5.3.3 || ^7.0",
"symfony/framework-bundle": "^2.7 || ^3.0 || ^4.0",
"symfony/yaml": "^2.7 || ^3.0 || ^4.0"
},
Expand Down

0 comments on commit 5539c14

Please sign in to comment.