Skip to content

Commit

Permalink
Stay with composer version 1
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati committed Oct 25, 2020
1 parent d53011b commit 6c74c4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .appveyor/configure.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ Update-PhpCAInfo -Path $phpInstallPath -Source LocalMachine -Verbose
$Env:Path = 'C:\tools\bin;' + $Env:Path
if (-Not(Test-Path -PathType Leaf -Path C:\tools\bin\composer.bat)) {
Write-Host 'Installing Composer'
Install-Composer -Path C:\tools\bin -PhpPath $phpInstallPath -NoAddToPath -Verbose
Install-Composer -Path C:\tools\bin -PhpPath $phpInstallPath -Version 1 -NoAddToPath -Verbose
} else {
Write-Host 'Updating Composer'
& composer self-update
& composer self-update --1
}

# Install hirak/prestissimo composer global package
Expand Down
2 changes: 2 additions & 0 deletions .travis/composer-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ echo 'Configuring PHP'
phpenv config-add "$SCRIPT_DIR/php.ini"
phpenv config-rm xdebug.ini || true

composer self-update --1

composer global show hirak/prestissimo -q || composer global require --no-interaction --no-progress --optimize-autoloader hirak/prestissimo || echo 'Failed to install hirak/prestissimo'

echo 'Installing Composer packages - Magento''s composer merger'
Expand Down

0 comments on commit 6c74c4c

Please sign in to comment.