mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-23 15:39:28 -05:00
add zip and upload steps to AppVeyor script
This commit is contained in:
@@ -27,6 +27,7 @@ test_script:
|
||||
- cd packages/launcher && node index.js && cd ../..
|
||||
- npm run binary-build -- --platform windows --version 0.20.2-win
|
||||
- npm run binary-zip
|
||||
- npm run binary-upload -- --version 0.20.2-win --zip cypress.zip
|
||||
# - cd packages/server && npm run test-unit
|
||||
# - npm test
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ la = require("lazy-ass")
|
||||
check = require("check-more-types")
|
||||
debug = require("debug")("cypress:binary")
|
||||
questionsRemain = require("@cypress/questions-remain")
|
||||
R = require("ramda")
|
||||
|
||||
zip = require("./zip")
|
||||
ask = require("./ask")
|
||||
@@ -25,10 +26,7 @@ success = (str) ->
|
||||
fail = (str) ->
|
||||
console.log chalk.bgRed(" " + chalk.black(str) + " ")
|
||||
|
||||
zippedFilename = (platform) ->
|
||||
# TODO use .tar.gz for linux archive. For now to preserve
|
||||
# same file format as before use .zip
|
||||
if platform is "linux" then "cypress.zip" else "cypress.zip"
|
||||
zippedFilename = R.always("cypress.zip")
|
||||
|
||||
# goes through the list of properties and asks relevant question
|
||||
# resolves with all relevant options set
|
||||
@@ -55,7 +53,8 @@ deploy = {
|
||||
"skip-clean": false
|
||||
}
|
||||
alias: {
|
||||
skipClean: "skip-clean"
|
||||
skipClean: "skip-clean",
|
||||
zip: ["zipFile", "zip-file", "filename"]
|
||||
}
|
||||
})
|
||||
opts.runTests = false if opts["skip-tests"]
|
||||
|
||||
Reference in New Issue
Block a user