Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c59dc2e

Browse files
Merge branch '4.4' into 5.1
* 4.4: [travis] fix checking if the current branch has same major as the next release
2 parents 50dbc6e + 150d850 commit c59dc2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ install:
233233
234234
- |
235235
# 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
236+
[[ $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
237237
238238
export COMPOSER_ROOT_VERSION=$SYMFONY_VERSION.x-dev
239239
if [[ $deps ]]; then mv composer.json.phpunit composer.json; fi

0 commit comments

Comments
 (0)