Commit Graph

101 Commits

Author SHA1 Message Date
Brian Mann 99250de71d docs: remove docs CI tasks from circle 2017-09-06 01:22:58 -04:00
Brian Mann 772ed7d60e Merge branch 'driver-refactor-merge' into develop 2017-08-29 16:04:02 -04:00
Brian Mann 630828cf0a root: proper circle indentation 2017-08-29 14:55:20 -04:00
Brian Mann 4b16279991 root: only store test results once due to junit hashing 2017-08-29 14:46:26 -04:00
Gleb Bahmutov 420c896b3d Docs staging 375 (#391)
* docs: set full url to staging

* docs: test after deploy

* add dot missing in deploy regular expression

* increase docs start timeout

* docs: catch missing css/cypress.css and js/toc.js after deploy

* docs: generate single application.js on staging

* docs: test for magic variable to detect missing js

* docs: test search drop down on intro page

* docs: add e2e test to catch missing sidebar

* docs: split build

* docs: run build file save

* docs: ls public before generating build.json

* docs: generate docs in debug mode

* setup custom linting rules inside themes/cypress/source to keep them ES5

* more eslint wrangling
2017-08-28 22:25:18 -04:00
Gleb Bahmutov cc05aa5787 deploy develop and master to staging and production, close #375 (#380)
* check develop and master against staging and production, close #375

* allow docs deploy from this branch for testing

* correct branch filter syntax

* docs: start server and then start e2e tests

* cache cypress-cli

* fix npm -g bin command

* do not build docs second time

* remove this branch from deploy

* docs: clean up deploy logic

* add deploy docs note

* faster docs caching by removing revision

* test docs caching
2017-08-28 10:13:09 -04:00
Gleb Bahmutov 5097da939c Broken hashes 377 try 2 (#379)
* fix cheerio unit test

* use cheerio, but assume wrapping

* switch all heading url helpers to plan markdown links
2017-08-25 16:57:24 -04:00
Brian Mann 03ce33e4ff root: tweak circle parallelization settings 2017-08-23 21:18:48 -04:00
Brian Mann 0957fe48eb root: parallelize e2e tests to 5 2017-08-23 19:28:06 -04:00
Brian Mann 6779fa02b0 root: properly comment out driver unit tests [skip ci] 2017-08-23 16:42:35 -04:00
Brian Mann 194b0b59f4 root: don't run driver unit tests yet 2017-08-23 14:00:48 -04:00
Brian Mann 7bc35ae38a Merge branch 'driver-refactor-merge' into develop
# Conflicts:
#	circle.yml
#	packages/server/package.json
2017-08-17 14:03:31 -04:00
Gleb Bahmutov ab4fb80c9e Ingest test artifacts from CircleCI 339 (#342)
* capture test results from CLI unit tests for #339

* add test results to packages/extension

* move mocha to root

* mocha test reporter for packages/launcher

* update socket reporter

* collect server unit test results

* store test results from server integration and e2e runs

* exclude projects from .only check
2017-08-14 15:25:49 -04:00
Brian Mann 4b70cfb2eb driver, server: add more parallel nodes, chunk specs across nodes
- split server e2e tests into 3 groups
- split driver integration tests into 3 groups
2017-08-14 14:17:04 -04:00
Brian Mann 4f0fcc6b55 root: start the driver server before running integration tests 2017-08-13 21:24:58 -04:00
Brian Mann 89731e5a9b root: fix circle commands for driver unit + integration tests 2017-08-13 18:41:00 -04:00
Brian Mann 19b65a9798 root: more circle.yml parse failz 2017-08-13 18:32:29 -04:00
Brian Mann a68c55e65a root: add driver integration tests 2017-08-13 18:26:04 -04:00
Brian Mann 5e26e5199b root: fix circle quotes 2017-08-13 18:24:53 -04:00
Brian Mann 37fd3cd2dc root: start running the driver tests 2017-08-13 16:28:43 -04:00
Gleb Bahmutov 8810000da7 catch .only prepush and on CI (#337) 2017-08-11 13:54:06 -04:00
Gleb Bahmutov d5f2f25b83 docs: deploy to production 2017-07-12 15:00:17 -04:00
Gleb Bahmutov 7976410042 Deploy docs on changes (#305)
* docs: testing deploy script

* docs: deployed to staging [skip ci]

* docs: deployed to staging [skip ci]

* docs: add --force flag to deploy docs

* public version of questions-remain

* add missing deps

* fix formatter string

* docs: ignore commit error on doc deploy

* docs: try full deploy command

* docs: deployed to staging [skip ci]

* docs: deployed to staging [skip ci]

* docs: refactoring upload of docs to get env early

* docs: deployed to staging [skip ci]

* docs: deployed to staging [skip ci]

* docs: deployed to staging [skip ci]

* docs: check for docs updates works for staging and production

* docs: split docs built output from deploy output

* docs: remove wrong option

* docs: remove forced deploy

* docs: configure deploy job after docs test but only on master branch

* docs: grab scrape token from env var or support file

* docs: add note how JSON files are encoded and passed as env variables
2017-07-12 11:41:59 -04:00
Gleb Bahmutov 3f703dd31d docs: build before running e2e tests, because takes long time 2017-07-07 12:24:27 -04:00
Gleb Bahmutov bba4332e8d Issue 224: building, zipping and uploading binary (#234)
* server: remove obsolete desktop types

* server: ensure project path generated by tests is ignored

* driver: remove unused gulp deps

* deploy: refactored to simplify uploading binary to S3 close #224

* refactored questions to allow asking only some information

* ask for zip file

* use option --zip to pass zip filename

* install cloudflare-cli

* working on making individual binary steps work

* move buildDir and distDir to meta file

* update references

* refactor questions

* Mac binary zipped and installed successfully

* successful builds on both platforms, upload and install

* refactor combined step deploy function

* add building binary on linux to CircleCI

* install root deps only

* fine, make build binary depend on main build

* server: fix app data path

* name binary using SHA

* server: unskip test concerning productName

* build binary with serial mode

* driver: improve visibility algorithm

* server: add some logging around browser launching

* docs: update cy.trigger position option - fixes #108

* desktop: fix invalid dom nesting

* docs: Add FAQ question about 'how to test file download'

* desktop: fix un-returned promise warning when logging in

* rebuild node-sass for current platform automatically (#225)

* uncomment two lines

* desktop: use same dropdown as browsers for user menu

* desktop: simplify build scripts, remove unused deps

* readme: add docker cypress/base image badge

* fix typo in readme

* deploy: refactored to simplify uploading binary to S3 close #224

* refactored questions to allow asking only some information

* ask for zip file

* use option --zip to pass zip filename

* install cloudflare-cli

* working on making individual binary steps work

* move buildDir and distDir to meta file

* update references

* refactor questions

* Mac binary zipped and installed successfully

* successful builds on both platforms, upload and install

* refactor combined step deploy function

* add building binary on linux to CircleCI

* install root deps only

* fine, make build binary depend on main build

* name binary using SHA

* build binary with serial mode

* uncomment two lines

* print build linux folder on CI
2017-06-29 14:29:56 -04:00
Gleb Bahmutov 162ae092f4 remove empty defaults object 2017-06-20 16:40:07 -04:00
Gleb Bahmutov d7f25f30fe parallel some jobs 2017-06-20 15:57:51 -04:00
Gleb Bahmutov cf511295f9 parallelism 4 2017-06-20 15:46:42 -04:00
Gleb Bahmutov e5f93f582e all jobs in workflow 2017-06-20 15:32:23 -04:00
Gleb Bahmutov 8b3186df96 names 2017-06-20 15:22:23 -04:00
Gleb Bahmutov b7ebe1bd7f enable other jobs 2017-06-20 15:16:17 -04:00
Gleb Bahmutov a2bf81fdf9 use cache instead of workspace 2017-06-20 15:08:13 -04:00
Gleb Bahmutov 8e1c5a662e run 2017-06-20 15:02:14 -04:00
Gleb Bahmutov 82691f0553 persist just lib and package.json maybe 2017-06-20 14:55:29 -04:00
Gleb Bahmutov 3a8a3c0406 ci: more jobs in workflow 2017-06-20 14:47:52 -04:00
Gleb Bahmutov a14add6cac workflow with build and lint 2017-06-20 14:40:16 -04:00
Gleb Bahmutov 0dfce188c1 ci: use template to prepare for CI workflows for #163 2017-06-20 13:59:29 -04:00
Gleb Bahmutov b331cb54f0 Issue 156 cli node 0.12 (#158)
* cli: set engines node > 0.12

* cli: trying to transpile using babel-register on the fly

* downgrading fs-extras to 1.0.0 to let it work on Node 0.12

* lint and enforce single quote on strings

* remove individual plugins

* cli: include dist folder in the npm package

* cli: add build step on prepublish, add readme

* cli: use default options, because code is transpiled

* cli: output into es5

* cli: see published size, a few missing requires

* cli: replace const with var in node 0.12

* cli: cache node_modules on CircleCI

* cli: back to use const that is not changed to let by eslint

* cli: build separate package for npm publishing

* remove postinstall step

* cli: remove npm vs dev install check
2017-06-19 12:14:06 -04:00
Gleb Bahmutov 8e1776c870 Issue 146: uniform CLI error reporting (#149)
* cli: shorter install message without undefined for #146

* cli: show relative path after install

* cli: debug install process

* cli: print message if using CYPRESS_VERSION

* cli: tests for CYPRESS_VERSION install

* cli: needed version message

* cli: verify app after download on install

* cli: do not verify app on install, wait until it runs

* cli: add verify command

* cli: good messags for missing app binary

* cli: xvfb error

* add missing app error

* linting

* cli: errors reported using same function

* print stack in error message for some errors

* show path checked

* use same error mechanism for download errors

* cli: unzip should report error the same way as the rest of CLI

* update some error language

* consolidate urls in error messages

* show terminal info

* terminal check outside of code

* cli: detect CI, do not use progress bar

* cli: test mock bar

* remove context.only
2017-06-09 17:37:48 -04:00
Brian Mann 101aac9c9b cli: move cli into subfolder, refactor cli scripts
-cleanup root monorepo files
-prevent downloading cypress binary when in development
-remove app-module-path
2017-06-05 17:26:51 -04:00
Brian Mann 7d8997482d increase parallelism 2017-05-31 16:45:12 -04:00
Brian Mann 88044551a2 server: get e2e tests running again, add to circle.yml container 2017-05-31 16:06:04 -04:00
Gleb Bahmutov ffc9783349 run: make run-all.js more robust against empty folders (#111) 2017-05-31 14:27:18 -04:00
Brian Mann 3619780d3a root: ensure we symlink all the sub packages in CI 2017-05-31 14:00:50 -04:00
Brian Mann 8e3a173476 remove caching for icons [skip ci] 2017-05-31 13:55:32 -04:00
Gleb Bahmutov 592e4ed2c9 enable unit tests 2017-05-31 11:57:24 -04:00
Gleb Bahmutov a0f9429c27 enable all integration tests again 2017-05-31 11:49:21 -04:00
Gleb Bahmutov 4a93ff116f electron dependencies 2017-05-31 11:26:17 -04:00
Gleb Bahmutov 865860b835 cache key index 2017-05-31 11:23:27 -04:00
Gleb Bahmutov 9bf6ac2eb6 skip unit tests 2017-05-30 18:13:19 -04:00