Skip to content

Commit d97e70f

Browse files
Merge branch '9.0-release' into add-config-validation
2 parents 84f53d1 + fc83e64 commit d97e70f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+692
-376
lines changed

CONTRIBUTING.md

-4
Original file line numberDiff line numberDiff line change
@@ -327,10 +327,6 @@ The project utilizes [yarn workspaces](https://yarnpkg.com/lang/en/docs/workspac
327327
> **⚠ Running on Windows?**
328328
>
329329
> Many of the NPM scripts used during development use commands designed for a Linux-like shell.If you are running a Windows operating system, you may encounter many commands that are not working. To fix this behavior, you have to set a Linux-like shell as the default `npm` script shell. If you have Git for Windows installed, you can set Git Bash as the default script shell by using the following command:
330-
> ```bash
331-
> yarn config set script-shell "C:\\Program Files (x86)\\git\\bin\\bash.exe"
332-
> ```
333-
> Git Bash may be installed in `Program Files`, if so, use the following command:
334330
>```bash
335331
> yarn config set script-shell "C:\\Program Files\\git\\bin\\bash.exe"
336332
>```

__snapshots__/upload-spec.js

-9
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,12 @@ exports['test runner manifest'] = {
55
"mac": {
66
"url": "https://cdn.cypress.io/desktop/3.3.0/darwin-x64/cypress.zip"
77
},
8-
"win": {
9-
"url": "https://cdn.cypress.io/desktop/3.3.0/win32-ia32/cypress.zip"
10-
},
118
"linux64": {
129
"url": "https://cdn.cypress.io/desktop/3.3.0/linux-x64/cypress.zip"
1310
},
1411
"darwin": {
1512
"url": "https://cdn.cypress.io/desktop/3.3.0/darwin-x64/cypress.zip"
1613
},
17-
"win32": {
18-
"url": "https://cdn.cypress.io/desktop/3.3.0/win32-ia32/cypress.zip"
19-
},
2014
"linux": {
2115
"url": "https://cdn.cypress.io/desktop/3.3.0/linux-x64/cypress.zip"
2216
},
@@ -26,9 +20,6 @@ exports['test runner manifest'] = {
2620
"linux-x64": {
2721
"url": "https://cdn.cypress.io/desktop/3.3.0/linux-x64/cypress.zip"
2822
},
29-
"win32-ia32": {
30-
"url": "https://cdn.cypress.io/desktop/3.3.0/win32-ia32/cypress.zip"
31-
},
3223
"win32-x64": {
3324
"url": "https://cdn.cypress.io/desktop/3.3.0/win32-x64/cypress.zip"
3425
}

__snapshots__/util-upload-spec.js

-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ exports['upload util isValidPlatformArch checks given strings second 1'] = {
99
"given": "linux-x64",
1010
"expect": true
1111
},
12-
{
13-
"given": "win32-ia32",
14-
"expect": true
15-
},
1612
{
1713
"given": "win32-x64",
1814
"expect": true

appveyor.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ branches:
22
only:
33
- master
44
- develop
5-
- fix-test-other-projects
5+
- 9.0-release
66
- /win*/
77

88
# https://www.appveyor.com/docs/lang/nodejs-iojs/
@@ -38,7 +38,6 @@ environment:
3838

3939
platform:
4040
- x64
41-
- x86
4241

4342
# https://www.appveyor.com/docs/build-cache/
4443
# hmm, seems there is NPM on windows problem

circle.yml

+15-16
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ macBuildFilters: &macBuildFilters
88
branches:
99
only:
1010
- develop
11-
- tgriesser/chore/fix-release
11+
- 9.0-release
1212

1313
defaults: &defaults
1414
parallelism: 1
@@ -42,7 +42,7 @@ onlyMainBranches: &onlyMainBranches
4242
branches:
4343
only:
4444
- develop
45-
- tgriesser/chore/fix-release
45+
- 9.0-release
4646
requires:
4747
- create-build-artifacts
4848

@@ -838,7 +838,7 @@ commands:
838838
paths:
839839
- cypress/binary-url.json
840840

841-
build-npm-package:
841+
build-cypress-npm-package:
842842
steps:
843843
- run:
844844
name: bump NPM version
@@ -857,13 +857,12 @@ commands:
857857
- run:
858858
name: pack NPM package
859859
working_directory: cli/build
860-
command: yarn pack
860+
command: yarn pack --filename cypress.tgz
861861
- run:
862862
name: list created NPM package
863863
working_directory: cli/build
864864
command: ls -l
865-
# created file should have filename cypress-<version>.tgz
866-
- run: cp cli/build/cypress-v*.tgz cypress.tgz
865+
- run: cp cli/build/cypress.tgz cypress.tgz
867866
- store-npm-logs
868867
- run: pwd
869868
- run: ls -l
@@ -1501,11 +1500,11 @@ jobs:
15011500
steps:
15021501
- restore_cached_workspace
15031502
- build-binary
1504-
- build-npm-package
1503+
- build-cypress-npm-package
15051504
- run:
15061505
name: Check current branch to persist artifacts
15071506
command: |
1508-
if [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "tgriesser/chore/fix-release" ]]; then
1507+
if [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "9.0-release" ]]; then
15091508
echo "Not uploading artifacts or posting install comment for this branch."
15101509
circleci-agent step halt
15111510
fi
@@ -2146,7 +2145,7 @@ linux-workflow: &linux-workflow
21462145
branches:
21472146
only:
21482147
- develop
2149-
- tgriesser/chore/fix-release
2148+
- 9.0-release
21502149
requires:
21512150
- build
21522151
- test-kitchensink:
@@ -2158,7 +2157,7 @@ linux-workflow: &linux-workflow
21582157
branches:
21592158
only:
21602159
- develop
2161-
- tgriesser/chore/fix-release
2160+
- 9.0-release
21622161
requires:
21632162
- build
21642163
- create-build-artifacts:
@@ -2208,15 +2207,15 @@ linux-workflow: &linux-workflow
22082207
branches:
22092208
only:
22102209
- develop
2211-
- tgriesser/chore/fix-release
2210+
- 9.0-release
22122211
requires:
22132212
- create-build-artifacts
22142213
- test-npm-module-and-verify-binary:
22152214
filters:
22162215
branches:
22172216
only:
22182217
- develop
2219-
- tgriesser/chore/fix-release
2218+
- 9.0-release
22202219
requires:
22212220
- create-build-artifacts
22222221
- test-binary-against-staging:
@@ -2225,7 +2224,7 @@ linux-workflow: &linux-workflow
22252224
branches:
22262225
only:
22272226
- develop
2228-
- tgriesser/chore/fix-release
2227+
- 9.0-release
22292228
requires:
22302229
- create-build-artifacts
22312230

@@ -2250,7 +2249,7 @@ linux-workflow: &linux-workflow
22502249
branches:
22512250
only:
22522251
- develop
2253-
- tgriesser/chore/fix-release
2252+
- 9.0-release
22542253
requires:
22552254
- create-build-artifacts
22562255

@@ -2322,7 +2321,7 @@ mac-workflow: &mac-workflow
23222321
branches:
23232322
only:
23242323
- develop
2325-
- tgriesser/chore/fix-release
2324+
- 9.0-release
23262325
requires:
23272326
- darwin-create-build-artifacts
23282327

@@ -2334,7 +2333,7 @@ mac-workflow: &mac-workflow
23342333
branches:
23352334
only:
23362335
- develop
2337-
- tgriesser/chore/fix-release
2336+
- 9.0-release
23382337
requires:
23392338
- darwin-create-build-artifacts
23402339

cli/__snapshots__/download_spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ URL: https://download.cypress.io/desktop?platform=OS&arch=ARCH
2828
2929
----------
3030
31-
Platform: darwin (Foo-OsVersion)
31+
Platform: darwin-x64 (Foo-OsVersion)
3232
Cypress Version: 1.2.3
3333
3434
`

cli/__snapshots__/errors_spec.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ a solution
55
66
----------
77
8-
Platform: test platform (Foo-OsVersion)
8+
Platform: test platform-x64 (Foo-OsVersion)
99
Cypress Version: 1.2.3
1010
`
1111

@@ -22,7 +22,7 @@ If you are using Docker, we provide containers with all required dependencies in
2222
2323
----------
2424
25-
Platform: test platform (Foo-OsVersion)
25+
Platform: test platform-x64 (Foo-OsVersion)
2626
Cypress Version: 1.2.3
2727
`
2828

@@ -35,6 +35,7 @@ exports['errors individual has the following errors 1'] = [
3535
"incompatibleHeadlessFlags",
3636
"invalidCacheDirectory",
3737
"invalidCypressEnv",
38+
"invalidOS",
3839
"invalidRunProjectPath",
3940
"invalidSmokeTestDisplayError",
4041
"invalidTestingType",
@@ -68,7 +69,7 @@ Please refer to the error above for more detail.
6869
6970
----------
7071
71-
Platform: test platform (Foo-OsVersion)
72+
Platform: test platform-x64 (Foo-OsVersion)
7273
Cypress Version: 1.2.3
7374
`
7475

@@ -92,6 +93,6 @@ Consider opening a new issue.
9293
9394
----------
9495
95-
Platform: test platform (Foo-OsVersion)
96+
Platform: test platform-x64 (Foo-OsVersion)
9697
Cypress Version: 1.2.3
9798
`

cli/__snapshots__/install_spec.js

+12-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ EACCES: permission denied, mkdir '/invalid'
142142
143143
----------
144144
145-
Platform: darwin (Foo-OsVersion)
145+
Platform: darwin-x64 (Foo-OsVersion)
146146
Cypress Version: 1.2.3
147147
148148
`
@@ -246,3 +246,14 @@ Installing Cypress (version: 1.2.3)
246246
- npm install --save-dev cypress
247247
248248
`
249+
250+
exports['error when installing on unsupported os'] = `
251+
Error: The Cypress App could not be installed. Your machine does not meet the operating system requirements.
252+
253+
https://on.cypress.io/guides/getting-started/installing-cypress#system-requirements
254+
255+
----------
256+
257+
Platform: win32-ia32
258+
259+
`

cli/__snapshots__/spawn_spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ Consider opening a new issue.
3030
3131
----------
3232
33-
Platform: darwin (Foo-OsVersion)
33+
Platform: darwin-x64 (Foo-OsVersion)
3434
Cypress Version: 0.0.0-development
3535
`

cli/__snapshots__/unzip_spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Error: end of central directory record signature not found
1111
1212
----------
1313
14-
Platform: darwin (Foo-OsVersion)
14+
Platform: darwin-x64 (Foo-OsVersion)
1515
Cypress Version: 1.2.3
1616
1717
`

0 commit comments

Comments
 (0)