Skip to content

Commit 4842fbb

Browse files
committed
Fixing PHP 7.2 build
1 parent ca2f361 commit 4842fbb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ matrix:
1515
include:
1616
# Test the latest stable release
1717
- php: 7.2
18-
env: PHPSTAN=true
18+
env: PHPSTAN=true COMPOSER1=true
1919
- php: 7.4
2020
env: COVERAGE=true PHPUNIT_FLAGS="-v --coverage-text" TESTNOSECURITYBUNDLE=true
2121

@@ -38,6 +38,7 @@ matrix:
3838

3939
before_install:
4040
- if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi
41+
- if [[ $COMPOSER1 = true ]]; then composer selfupdate --1; fi
4142
- if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; fi;
4243
- if ! [ -v "$DEPENDENCIES" ]; then composer require --no-update ${DEPENDENCIES}; fi;
4344

0 commit comments

Comments
 (0)