Commit Graph

89 Commits

Author SHA1 Message Date
Gleb Bahmutov
d22eb13e92 Verify command 545 (#550)
* find single line with ping value, close #545

* linting
2017-10-03 20:50:11 +00:00
Gleb Bahmutov
c244b4dca7 Merge branch 'win-binary-495' into develop 2017-10-02 21:14:40 -04:00
Gleb Bahmutov
4672b569f1 Upload tar and zip (#536)
* run linter an all

* add NPM package CI job

* more steps for NPM package

* start upload NPM package

* more work on NPM package upload

* testing upload

* move purge cache to utils

* add unique binary build and upload from CI

* pass saved urls to test-binary job

* allow CYPRESS_BINARY_VERSION to be an url right away

* put uploaded urls into /tmp folder

* use explicit json filenames

* paths instead of path

* testing cypress npm and binary

* use NPM folder beta to store temp binary and package

* refactor utils

* set env vars and trigger other test projects

* only test NPM and binary on develop branch

* enable all jobs again
2017-10-01 17:01:19 -04:00
Gleb Bahmutov
2a093afdf8 win: zip and unzip 2017-09-27 11:08:07 -07:00
Brian Mann
fa8551793b fixes #661, accept --project for cypress open 2017-09-19 11:52:44 -04:00
Brian Mann
f2591f81b3 fixes #657, accept --headed option, remove undocumented --show-headless-gui 2017-09-17 14:56:50 -04:00
Brian Mann
2b415cab4c cli: verify against installed version not package version when displaying first time opening message 2017-09-16 19:21:00 -04:00
Gleb Bahmutov
dca50ee6ef Pass project option (#467)
* cli: pass --project path when starting

* cli: resolve --project path automatically
2017-09-13 23:49:43 -04:00
Gleb Bahmutov
901d62b887 cli: handle help, -h and --help, close #463 (#464) 2017-09-13 14:11:36 -04:00
Gleb Bahmutov
70a7fa0572 cli: exit with error code 1 on invalid command (#461) 2017-09-13 12:37:15 -04:00
Gleb Bahmutov
69b9bde074 module api: convert config object to string, close #457 (#459) 2017-09-12 20:37:50 -04:00
Gleb Bahmutov
aa17d06e05 module api: normalize env option, close 437 (#441) 2017-09-09 09:19:52 -04:00
Brian Mann
a79431cd6c cli: improve version experience
-alias versions to -v and --version
-make exec/versions helper
-capture logs via logger
-simplify tests
2017-09-06 02:54:02 -04:00
Gleb Bahmutov
fb06f1ba93 cli: show error on unknown command, close #414 2017-09-05 12:58:23 -04:00
Gleb Bahmutov
a1a8038528 update the docs for version command 2017-09-05 12:23:49 -04:00
Gleb Bahmutov
844dc1fe30 cli: add version command to the CLI, close #413 2017-09-05 12:18:36 -04:00
Brian Mann
c1db121dd6 cli: disable welcome message when manually verifying, otherwise display 2017-09-05 01:26:37 -04:00
Brian Mann
90a0198e94 cli: move normalize function out of core lib, and into test support 2017-09-05 01:13:00 -04:00
Brian Mann
8e9183fa2d cli: continually normalize snapshots to get passing in CI 2017-09-04 20:31:04 -04:00
Brian Mann
90a3408f1f let cypress open inherit stdio for debugging purposes 2017-09-04 18:57:35 -04:00
Brian Mann
46dcca7fd0 cli: add 'Opening Cypress...' message on first verification 2017-09-04 18:39:39 -04:00
Brian Mann
3f9c3256de cli: forked verbose renderer to prevent double error output in CI 2017-09-04 17:57:42 -04:00
Brian Mann
8e1addfab8 cli: clearer messaging when download fails 2017-09-04 16:40:41 -04:00
Brian Mann
181115a7f6 cli: whoops don't update title on progress notifications :D 2017-09-04 16:32:17 -04:00
Brian Mann
335553f94b cli: when running in CI, use a different renderer to prevent ugly stream of stdout updates 2017-09-04 16:24:41 -04:00
Brian Mann
76bb95d5fa cli: use own package.json, not the root 2017-09-04 15:39:22 -04:00
Brian Mann
48dd8983ae cli: finished implementing all tests, all green 2017-09-04 12:46:44 -04:00
Brian Mann
1001c0e1ef cli: added and updated unzip specs 2017-09-04 12:16:02 -04:00
Brian Mann
9244b164af cli: updated download specs 2017-09-04 12:15:52 -04:00
Brian Mann
d9a28bf278 cli: todo line seperations 2017-09-04 11:30:05 -04:00
Brian Mann
bbe2db065d cli: snapshot tests around verify 2017-09-04 11:25:11 -04:00
Brian Mann
7d41987b7b cli: WIP iterating on verify snapshots 2017-09-04 02:55:51 -04:00
Brian Mann
27e388fc31 cli: more comprehensive tests around cli + util, exits, rejected promises, etc 2017-09-04 02:15:43 -04:00
Brian Mann
ff55669874 cli: extract verify tests out of info, get tests passing 2017-09-04 01:55:08 -04:00
Brian Mann
9a38bca34c cli: tests around install including snapshots, woo! 2017-09-04 01:47:21 -04:00
Brian Mann
4842c9d6a4 cli: install finish green to pair nicely with verification 2017-09-04 00:01:11 -04:00
Brian Mann
173849f4ab cli: normalized all start methods 2017-09-04 00:00:41 -04:00
Brian Mann
8ee29f7864 cli: better error formatting, added cypress version to errors, add footer feature 2017-09-03 23:41:52 -04:00
Brian Mann
fe20323b06 cli: add logger.warn function 2017-09-03 23:41:12 -04:00
Brian Mann
a6a925057f cli: remove unused progress bar 2017-09-03 23:41:01 -04:00
Brian Mann
143640c828 cli: refactor verify, better error handling, use listr for messaging, clearer errors 2017-09-03 23:40:52 -04:00
Brian Mann
89632bbbaf cli: move titleize to be reusable 2017-09-03 23:40:12 -04:00
Brian Mann
42ca775755 cli: WIP, move to listr for user notifications, extract and begin refactoring into multiple tasks and files
- cleaned up lots of redundant error handling
- do not ever forcibly exit early
- add user messaging for global installations
- add user messaging for opening cypress
- enable CYPRESS_BINARY_VERSION to be set, with warning
2017-09-03 21:28:59 -04:00
Brian Mann
c1eb1a9663 cli: WIP rename utils -> info 2017-09-02 23:59:56 -04:00
Brian Mann
983b34d740 cli: WIP extracted concerns into multiple files 2017-09-02 23:58:16 -04:00
Brian Mann
61bcefab91 cli: WIP rename download -> tasks, begin extracting out concerns 2017-09-02 23:53:33 -04:00
Brian Mann
a8af8add25 cli: remove unnecessary sample project 2017-09-02 23:36:00 -04:00
Brian Mann
f29b3b9b1f cli: code cleanup, formatting, content improvements 2017-09-02 23:34:05 -04:00
Brian Mann
98724366fd cli: move package version check to utility function 2017-09-02 23:33:45 -04:00
Brian Mann
1e1a58330d cli: rename exitGracefully to exit1, DRY up usage 2017-09-02 23:33:23 -04:00