Skip to content

Commit

Permalink
set max zip size to 195MB
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Dec 16, 2019
1 parent 61c4ec1 commit 5e79d70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/binary/zip.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ checkZipSize = (zipPath) ->
stats = fs.statSync(zipPath)
zipSize = filesize(stats.size, {round: 0})
console.log("zip file size #{zipSize}")
MAX_ALLOWED_SIZE_MB = if os.platform() == "win32" then 275 else 185
MAX_ALLOWED_SIZE_MB = if os.platform() == "win32" then 275 else 195
MAX_ZIP_FILE_SIZE = megaBytes(MAX_ALLOWED_SIZE_MB)
if stats.size > MAX_ZIP_FILE_SIZE
throw new Error("Zip file is too large: #{zipSize} (#{stats.size} bytes) exceeds #{MAX_ZIP_FILE_SIZE} bytes")
Expand Down

1 comment on commit 5e79d70

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 5e79d70 Dec 16, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/3.8.1/linux-x64/circle-issue-1096-firefox-support-5e79d709f788f9d1fb327037ef9e57bc6de3187f-216474/cypress.zip
npm install https://cdn.cypress.io/beta/npm/3.8.1/circle-issue-1096-firefox-support-5e79d709f788f9d1fb327037ef9e57bc6de3187f-216462/cypress.tgz

Please sign in to comment.