Commit graph

35 commits

Author SHA1 Message Date
JJ Kasper
e5aa9614e1 Lock CircleCi image for now (#8706)
* use legacy image for now

* Use image hash

* Update config
2019-09-11 12:56:32 -04:00
JJ Kasper
7b933f675a Optimize test setup (#8644)
* Tweak test set-up

* Update azure config

* Add cleaning test files and windows handling

* Limit windows test to one at a time

* Tweak test settings

* Update tests splitting

* remove custom concurrency for azure

* Test Azure var

* Update Azure config

* bump

* Simplify cleaning up
2019-09-10 13:11:55 -04:00
Joe Haddad
92ea3b6e9d Revert "Don't require test job for deploying" (#8199)
This reverts commit 00e50144c6.
2019-08-01 12:26:31 +01:00
JJ Kasper
00e50144c6 Don't require test job for deploying (#8194) 2019-07-31 19:15:21 -04:00
Natalie Marleny
8e467bee1f [Enhancement]: Refactor circleCI config (#7963)
* Refactor bash commands in circleCI config

- Split into multiple lines for easier readability

* De-duplicate circleCI commands using parameter

- Reference: https://circleci.com/docs/2.0/configuration-reference/
2019-07-15 16:04:36 +02:00
JJ Kasper
12f4c718b5 Re-add retrying tests in CircleCi to prevent false failures (#7374) 2019-05-18 13:56:18 +02:00
Tim Neutkens
6feca310d7
Revert ncc webpack (#7370)
* Revert "Add retrying to CircleCi and fixes for ncc'ed webpack (#7366)"

This reverts commit 5beb365d12.

* Revert "ncc Webpack build (#7301)"

This reverts commit bd8f3c625f.

# Conflicts:
#	packages/next/package.json
2019-05-17 13:25:46 +02:00
JJ Kasper
5beb365d12 Add retrying to CircleCi and fixes for ncc'ed webpack (#7366)
* Add retrying to CircleCi and run prepublish separately to get better logs in Azure

* Apply workaround for Azure node 10 and ncc

* Update incorrect webpack imports

* Use ncced autodll-webpack-plugin

* Move autodll-webpack-plugin to devDependencies
2019-05-17 10:57:03 +02:00
Joe Haddad
a008b19932
Reduce CircleCI Parallelism (#7171) 2019-04-26 22:25:26 +09:00
JJ Kasper
92e2f26999
Remove list_dist from debugging (#7148) 2019-04-24 16:04:37 -05:00
JJ Kasper
c0ee49b4fb
Move type generating (#7147)
* Move types to run on prepublish in each package

* Update circleci to list dist
2019-04-24 15:43:04 -05:00
JJ Kasper
9aced1788e Move generating types to before deploy (#7145)
* Move generating types to before deploy

* Indent again

* Re-add type generating to prepublish
2019-04-24 20:41:07 +02:00
Jeremy Bolding
d2b0db811c Rewrote .circleci/config.yml to 2.1 schema (#7103) 2019-04-22 20:21:42 +02:00
JJ Kasper
5421274c87
Fix re-rendering on client after navigating back from external (#6652)
* Fix re-rendering on client after navigating
back from external site

* Clean up tagging before unload

* Add check for history.state 1/2

Co-Authored-By: ijjk <22380829+ijjk@users.noreply.github.com>

* Add check for history.state 2/2

Co-Authored-By: ijjk <22380829+ijjk@users.noreply.github.com>

* Add check for options

Co-Authored-By: ijjk <22380829+ijjk@users.noreply.github.com>

* Add test for navigating to external site and back
also added testing in safari and firefox

* Add test for query in url
2019-04-09 16:58:44 -05:00
JJ Kasper
04df54a3b4 Circleci filter PRs (#6961)
Don't run `deploy` and `test-ie11` jobs for PRs in CircleCI
2019-04-09 16:43:00 +02:00
JJ Kasper
ecf6134a7f Bump parallelism on circleci (#6926) 2019-04-07 15:14:51 -04:00
JJ Kasper
9995f5d518
Add checking of react versions (#6892)
* Add checking of react versions to make sure it
meets the minimum set in peerDependencies

* Simplify react check

* Update error wording

Co-Authored-By: timneutkens <tim@timneutkens.nl>

* Add err.sh

* Update test-production circleci job name

* Add react error message to next-dev-server

* Update test for new wording
2019-04-04 16:47:17 -05:00
JJ Kasper
e25312b7d7
Make sure error isn't swallowed for production test on CircleCi (#6848) 2019-04-01 09:58:17 -05:00
JJ Kasper
b6b0db186a Update env variables for CircleCi (#6834) 2019-03-29 11:17:47 -04:00
JJ Kasper
533018f7d0 Update tests for BrowserStack (#6810)
Update tests to setup webdriver stuff in `jest-environment` and re-use one browser session instead of spawning one for each webdriver call to prevent creating too many BrowserStack sessions.
2019-03-29 16:05:53 +01:00
JJ Kasper
7d0919a784 Break up basic test suite (#6730)
* Break out client-navigation and rendering
test from basic test

* Try with parallelism dialed back to 3

* Update jest-junit for more compatible timings in CircleCI

* Bump to test timings

* Use filepath for suitename in jest-junit

* Store reports as artifacts

* Try using classname for timings

* Bump

* Remove reports from artifacts
2019-03-20 11:01:32 +01:00
Joe Haddad
e906e4bd77
Adjust CircleCI flow (#6728)
* Format circleci config

* Tweak configuration into multiple steps

* Persist whole repo to workspace

* Attach workspace for tests

* Run tests in parallelism x4

* Test circleci parallelism

* parallel x6 times

* Save test timing

* Use env var instead

* run in ci mode

* test speed
2019-03-19 21:55:43 -04:00
Connor Davis
17ad1eb8aa
Add --frozen-lockfile to circleci 2019-02-19 23:17:14 -06:00
Joe Haddad
36946f9709
Remove lerna bootstrap (#6289) 2019-02-14 08:33:00 -05:00
Tim Neutkens
315a374298 Add new circleci config 2019-02-11 08:15:23 +01:00
Tim Neutkens
dd556bf90b
Add tsc type checking (#5826)
* Add tsc type checking

* Add linting on circle

* Add node-fetch types

* Use strict mode
2018-12-05 21:45:50 +01:00
Noel Yoo
c111eac1ae Update circleci build (#5491) 2018-10-22 13:05:04 +02:00
Tim Neutkens
57c61cde3a Use yarn to correctly pass through arguments 2018-10-02 16:54:36 +02:00
Tim Neutkens
f9d54c1336 Add yes to publish command 2018-10-02 16:16:03 +02:00
Tim Neutkens
3f5524abd3 Disable publish on branch builds 2018-10-02 16:06:49 +02:00
Tim Neutkens
61b93e5291 Install deps to publish 2018-10-02 15:54:20 +02:00
Tim Neutkens
be5dbe3cfd Persist dist directory under packages 2018-10-02 15:12:28 +02:00
Tim Neutkens
b91d4975aa Add circleci publish 2018-10-02 14:49:39 +02:00
Tim Neutkens
b1c4f3aec4
Monorepo (#5341)
- Implements Lerna
- Moves all source code into `packages/next`
- Keeps integration tests in the root directory
2018-10-01 01:02:10 +02:00
Tim Neutkens
2f2eaf25e4 Add circleci 2018-09-02 15:14:29 +02:00