Commit Graph

103 Commits

Author SHA1 Message Date
Brian Mann
80914cbd31 root: add bump tasks for circle [skip ci] 2017-09-27 20:01:36 -04:00
Gleb Bahmutov
6282de2c2f scripts: use path separator for label, close #501 (#502) 2017-09-25 17:44:00 -04:00
Gleb Bahmutov
a0c08bbdf3 Windows support (#484)
* try installing on Windows

* Handle windows setup

- no browser detection on windows yet, just placeholder code
- symlink types

* add appveyor file

* add appveyor windows build

* use execa to run server unit tests

* run server unit tests on appveyor

* ignore root install errors

* upgrade rebuild-node-sass

and work on Json unit test that fails on Windows

* print npm version

before installing, commented out caching node modules in the root

* a few small tweaks for windows support

* fix bin-up in launcher project

use bin-up@1.1.0 for windows support, close #491

* cli: build script on Windows, close #492

* cli: build errors are fatal

* use cross-env in extension

Fixes environment variables on Windows in #490

* extension: fix 3 tests on Windows

1 more broken test remaining

* extension: use EOL before comparing text

* example: update test for Windows

* example: replace build.sh with build.js

Close #488

* remove trailing whitespace

* cli: build script again

* server: work on unit tests for windows

* binary: add windows as build platform

* windows: try building binary

started work on building on CI for windows
2017-09-25 10:17:28 -04:00
Gleb Bahmutov
7700927231 Check binary zip close #482 (#483)
* print zip size for #482

* check zip file against max

* stop binary build if size is > 120MB, close #482
2017-09-19 14:58:01 -04:00
Gleb Bahmutov
23c33b2eee readme: add links and cypress-test-example-repos (#479)
* readme: add links and cypress-test-example-repos

* use later version that shows key
2017-09-19 11:31:49 -04:00
Brian Mann
9d6183e334 root: compress as much as possible on linux zip [skip ci] 2017-09-18 00:08:03 -04:00
Brian Mann
4b9b36a4bb root: remove dead deploy code, refactor to do smoke test, project test, and failing project test 2017-09-17 20:51:03 -04:00
Brian Mann
1fa2d9f2a2 root, server: WIP try to copy circle artifacts 2017-09-16 19:44:57 -04:00
Brian Mann
b1a677d61d root: turn back on copying circle artifacts post build 2017-09-16 19:01:14 -04:00
Brian Mann
b2654edf8c root: use our CLI's xvfb lib instead of xvfb-maybe 2017-09-16 18:34:06 -04:00
Brian Mann
9b0508f1bf root: update local docker to match circle [skip ci] 2017-09-16 17:28:02 -04:00
Brian Mann
704320c950 root: tweak xvfb-run args 2017-09-16 17:16:29 -04:00
Brian Mann
957375b034 root: run desktop gui cypress tests across 3 parallel instances 2017-09-16 17:00:59 -04:00
Brian Mann
e2458ba9db root: refactor run-integration to common scripts -> run-cypress-tests, accept options, use xvfb-maybe, cleanup circle.yml
- this enables us to use a common script for running cypress tests
within the monorepo itself
- useful for the driver, desktop-gui, and the reporter
2017-09-16 16:38:00 -04:00
Gleb Bahmutov
baccde14a8 ughhh 2017-09-15 17:21:48 -04:00
Gleb Bahmutov
c0e1a4bcf7 zip command in parent folder 2017-09-15 17:09:01 -04:00
Gleb Bahmutov
5ce5b973eb go through entire binary deploy on linux platform 2017-09-15 16:38:33 -04:00
Gleb Bahmutov
941203500b zip in right folder 2017-09-15 16:33:25 -04:00
Gleb Bahmutov
0807fb25d9 fix lint error 2017-09-15 16:10:55 -04:00
Gleb Bahmutov
10feb885ea use env or json to get AWS credentials 2017-09-15 16:04:19 -04:00
Gleb Bahmutov
fef9c24c1b use Cloudflare env variables or file 2017-09-15 15:54:40 -04:00
Brian Mann
3d8489369b electron: upgrade electron-packager dep to 9.0.1 2017-09-14 17:08:57 -04:00
Brian Mann
a74429536a docs: remove docs from monorepo -> move to cypress-documentation 2017-09-06 01:25:14 -04:00
Brian Mann
67fc544523 root: fix coffeescript conventions 2017-09-01 02:22:46 -04:00
Brian Mann
2050630b1f root: fix deploy bugs when running all the tasks at once 2017-09-01 02:22:35 -04:00
Brian Mann
73fa4a75a9 root: fix cloudflare purging incorrect url 2017-09-01 02:22:03 -04:00
Brian Mann
4179aae23f root: set cypress.zip as default 2017-08-31 22:27:49 -04:00
Brian Mann
88a109c837 root: check for .aws-credentials to conform to other scripts 2017-08-31 22:27:48 -04:00
Brian Mann
a95e5f1a45 root: move common .eslint to root, remove duplicates 2017-08-29 14:45:55 -04:00
Chris Breiding
2f03e3b19d add eslintrc for scripts 2017-08-23 13:00:35 -04:00
Gleb Bahmutov
c90d99e11c binary: use @cypress/questions-remain 2017-07-11 11:40:22 -04:00
Gleb Bahmutov
a364607b6b Issue 281 - add @packages/root (#282)
* link: create fake @packages/root

* server: switch to loading @packages/root

* server: update tests after using @packages/root

* load root package in other places

* load root package in build using @packages/root

* update tests that mock root package

* server: fix server start whenever loading root package in updater

* fix updater test

* uncomment code
2017-07-10 10:07:52 -04:00
Jennifer Shehane
9216f6a630 rearranged bg colors for build process so that bgYellow is slated later. 2017-07-07 16:32:07 -04:00
Gleb Bahmutov
56c4757c06 scripts: shorter prefixed list of filtered packages 2017-07-06 12:59:58 -04:00
Gleb Bahmutov
f0832a34f3 proxy: proxy browser field in the packages for #277 (#279) 2017-07-06 12:13:49 -04:00
Gleb Bahmutov
1610fa5eeb binary: allow mac alias to darwin 2017-07-06 09:55:16 -04:00
Gleb Bahmutov
328b4d8221 upload: check zip file exists before trying to upload 2017-07-06 09:48:24 -04:00
Gleb Bahmutov
4b7f3d0a4b binary: make sure to purge renamed cypress.zip url 2017-07-05 15:11:07 -04:00
Gleb Bahmutov
f76aef19c2 binary: when uploading, make sure to upload as cypress.zip 2017-07-05 14:23:41 -04:00
Gleb Bahmutov
7f8f85878e scripts: update path to support folder 2017-07-05 12:20:10 -04:00
Gleb Bahmutov
8a1222657e rebuild and lint 2017-07-05 11:27:10 -04:00
Gleb Bahmutov
de305db260 Build app for both platforms (#249)
* binary: check platform, throw exception on mismatch

* binary: build script actually builds linux platform app

* zip from Mac both linux and darwin apps

* quiet npm installs during builds
2017-06-30 16:50:05 -04:00
Gleb Bahmutov
54384d1dba Sign Mac app - issue 240 (#247)
* binary: sign Mac app, close #240

* checking the app signing

* binary: successfully signed Mac app
2017-06-30 14:44:08 -04:00
Gleb Bahmutov
c7fafe2456 binary: move support folder into scripts/binary to avoid wide ignore 2017-06-30 14:06:27 -04:00
Gleb Bahmutov
1439976ac9 Proxy packages instead of symlinks (#245)
* all: replace symlinks with proxy modules

* replacing symlinking with copying proxy packages

* https-proxy: add missing prod dependency lodash

* put actual path to main for each package proxy

* better console log

* driver: include index.js in published files

* https-proxy was missing debug production dependency

* app built with proxied packages works

* delete existing node_modules/@packages before making proxies

* explicit async fs call

* server: remove deep paths in tests

* driver: remove nested path to @packages

* link: ensure each package has main set
2017-06-30 11:33:09 -04:00
Gleb Bahmutov
bf7b2cd673 symlink relative paths 2017-06-29 18:07:48 -04:00
Gleb Bahmutov
f33aeabfa0 binary: add CLI option to skip cleaning output dist folder 2017-06-29 16:07:49 -04:00
Gleb Bahmutov
0951cf00d7 binary: default platform on linux is linux 2017-06-29 15:04:50 -04:00
Gleb Bahmutov
25c6bee630 build: fix missing argument 2017-06-29 15:00:01 -04:00
Gleb Bahmutov
d2600f41d8 merged renames 2017-06-29 14:50:08 -04:00