Commit Graph

35 Commits

Author SHA1 Message Date
Gleb Bahmutov efebf90dc6 ci: run npm installs in serial on CI 2017-05-23 10:40:08 -04:00
Gleb Bahmutov 42d9c0fa4d ci: run build after saving npm caches 2017-05-23 09:46:56 -04:00
Gleb Bahmutov 0941d9fa99 ci: run install and build separately 2017-05-23 09:46:25 -04:00
Gleb Bahmutov d4a4bba358 Reworking CI to try user account (#81)
* ci: use unsafe perm to drive npm installs

* remove second postinstall command

* remove unsafe perm - we are using cypress image with user set

* enable unsafe perm again

* blow away root cache

* rename caches to v2-

* install serially, because on CI get out of memory error

* blow caches again and try

* remove --serial from the root install command

* ci: add branch name to the caches name
2017-05-23 09:33:17 -04:00
Gleb Bahmutov 056396fce3 rework circle yml file a little 2017-05-23 09:09:34 -04:00
Gleb Bahmutov 8af3c696ea ci: set npm verbosity to warn via environment variable 2017-05-22 16:33:37 -04:00
Gleb Bahmutov 1bb08510a7 CircleCI based on our Docker image (#76)
* ci: switch CircleCI base image to cypress/internal:chrome58
2017-05-22 16:14:25 -04:00
Gleb Bahmutov 62f280e9ae CircleCI v2 (#60)
* each container runs its own commands and it is easy to modify which commands are were (multiline format)
* setup is super fast because all deps are in base docker image (well, except for Chrome) and node_modules are cached
2017-05-18 18:16:16 -04:00
Gleb Bahmutov 0fc4dab3c7 Run Cypress e2e tests in docs folder on CI (#52)
* docs: run hexo server and cypress e2e tests in parallel

* docs: enable e2e docs tests on CircleCI

* pass record key via env CYPRESS_DOCS_RECORD_KEY to cypress run command

* docs: renaming e2e task names

* ts: cache node_modules folder

* docs: unit test helpful message

* typo in script name

* cache .cypress folder

* do not ignore fixtures folder
2017-05-18 09:04:15 -04:00
Brian Mann d29b531869 don't run server integration or e2e tests yet (until they pass locally) 2017-05-17 18:21:29 -04:00
Brian Mann 78453c4d8b don't npm install the docs twice 2017-05-17 17:59:05 -04:00
Gleb Bahmutov aca05514fc docs: cache docs/node_modules folder on CI 2017-05-17 15:07:06 -04:00
Gleb Bahmutov 5058c14c20 docs: sanity CI build for docs folder (#50) 2017-05-17 14:49:15 -04:00
Gleb Bahmutov 56346ebfbe ci: run linters on CI before unit tests 2017-05-17 14:14:19 -04:00
Brian Mann 1bdb19f163 move tasks between containers 2017-05-17 10:33:54 -04:00
Brian Mann 12d945b083 load balance driver tests, move server integration tests 2017-05-16 20:09:30 -04:00
Gleb Bahmutov 38a7627c72 Parallel tests on CI via shell files (#25)
Split test run commands using CircleCI node indices
2017-05-16 17:43:40 -04:00
Gleb Bahmutov 68a6784ce8 Circle matrix (#17)
* tried circleci matrix script

* add a few commands

* run circleci-matrix on circleci

* run circleci-matrix with parallel flag

* missing colon

* double indent

* add more projects to the matrix

* cannot have 2D matrix, just single variable

* quotes

* most projects in matrix
2017-05-16 09:24:56 -04:00
Gleb Bahmutov b3d565b291 run lint as desktop-gui unit test for now 2017-05-15 15:34:25 -04:00
Gleb Bahmutov 8b98e96245 comment out driver tests 2017-05-15 14:49:33 -04:00
Gleb Bahmutov 97fc3ef1c0 convert all test commands into single run unit tests (#14) 2017-05-15 14:48:52 -04:00
Gleb Bahmutov 43a9ef7544 cache downloaded Electron binary 2017-05-15 14:31:09 -04:00
Gleb Bahmutov d239f21c5e disable server unit tests for now 2017-05-15 14:02:12 -04:00
Gleb Bahmutov 701109aaf5 oh my, so many npm test commands missing run 2017-05-15 13:06:06 -04:00
Gleb Bahmutov 24c0a89cc1 fix typo 2017-05-15 13:05:12 -04:00
Gleb Bahmutov 01b6829c63 all unit tests should run on Circle 2017-05-15 12:59:28 -04:00
Gleb Bahmutov f935b41313 more tests enabled 2017-05-15 12:50:14 -04:00
Gleb Bahmutov 843621ffb7 another test typo in command 2017-05-15 12:47:57 -04:00
Gleb Bahmutov 76e65a9401 checking cached folder on Circle, more unit tests to run 2017-05-15 12:36:49 -04:00
Gleb Bahmutov 8a9f582bd3 explicit cached folders 2017-05-15 12:08:14 -04:00
Gleb Bahmutov 749b14ae77 try using wildcard in circleci cache directories list 2017-05-15 11:53:13 -04:00
Brian Mann d19e57aa37 always run build post install 2017-05-15 11:37:07 -04:00
Brian Mann 8eacdcef40 run all 2017-05-15 11:20:36 -04:00
Brian Mann 0b42d1a02b circle: run build dev post install 2017-05-15 11:06:37 -04:00
Brian Mann 5373f322c3 WIP circle.yml 2017-05-15 10:59:53 -04:00