Skip to content

Commit

Permalink
FIX: Composer 2
Browse files Browse the repository at this point in the history
  • Loading branch information
BadPixxel committed Oct 26, 2020
1 parent 9335dea commit a2e1921
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Resources/travis/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@ echo -e "\e[104m \e[49m"
echo -e "\e[104m SPLASH BUNDLE --> Config Travis \e[49m"
echo -e "\e[104m \e[49m"

# Update composer
composer self-update
# With PHP < 7.3 => Rollback to Composer 1
if [[ ${TRAVIS_PHP_VERSION:0:3} < "7.3" ]]; then
composer self-update --rollback;
else
composer self-update
fi

# Setup Travis PHP
if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi

0 comments on commit a2e1921

Please sign in to comment.