Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 50dbc6e + 150d850 commit c59dc2eCopy full SHA for c59dc2e
.travis.yml
@@ -233,7 +233,7 @@ install:
233
234
- |
235
# Legacy tests are skipped when deps=high and when the current branch version has not the same major version number as the next one
236
- [[ $deps = high && ${SYMFONY_VERSION%.*} != $(git ls-remote -q --heads | cut -f2 | grep -FA1 /$SYMFONY_VERSION | tail -n 1 | grep -o '[0-9]*') ]] && export LEGACY=,legacy
+ [[ $deps = high && ${SYMFONY_VERSION%.*} != $(git ls-remote -q --heads | cut -f2 | grep -FA1 /$SYMFONY_VERSION | tail -n 1 | grep -o '[0-9]*' | head -n 1) ]] && export LEGACY=,legacy
237
238
export COMPOSER_ROOT_VERSION=$SYMFONY_VERSION.x-dev
239
if [[ $deps ]]; then mv composer.json.phpunit composer.json; fi
0 commit comments