Nest: Use CircleCI as replacement of TravisCI

Created on 8 Aug 2019  路  8Comments  路  Source: nestjs/nest

Feature Request

What is the motivation / use case for changing the behavior?

TravisCI is great for smaller projects and easy to get started with. In my opinion NestJS has grown out of this.

Some features why choose CircleCI over TravisCI:

  • YAML Anchors: Allows to define "mixin" jobs. It allows to reduce redundancy. Useful for e.g. setup the environment and saving / restoring cache.
  • Displays each job on GitHub:
    Selection_001
  • Better measuring:
    Selection_002
  • Better workflow integration:
    Selection_003

Teachability, Documentation, Adoption, Migration Strategy

Migrate nestjs/nest to CircleCI. Migrate integrations only if needed.

type type

Most helpful comment

I wanted to migrate over CircleCI for months! :) Let's do it as soon as possible. Feel free to move forward with this migration if you have some spare time.

All 8 comments

I wanted to migrate over CircleCI for months! :) Let's do it as soon as possible. Feel free to move forward with this migration if you have some spare time.

Let me know if you need any help, since this will affect https://github.com/nestjs/nest/pull/2743 aswell 馃コ

I started the migration towards CircleCI. Feel free to contribute:)

@kamilmysliwiec looking really nice - exactly how I had imagined it to be (with the mixins / aliases, etc. so awesome) :)

The checks are so useful for a contributor:
awesomeness
awesomeness 2

and the config is way cleaner and maintainable.

Any reason for why you're not using yarn?

@marcus-sa we challenged that idea some time ago in #1060, but in the end went for #1176. It would have been a huge change to the existing codebase, so #1176 made more sense at the time.

Maybe we can re-discuss this topic since we are anyway currently expanding our build system, but this should be handled in a separate issue / PR.

Just finished the migration of the main repo. I'll do the same for the rest of them too. If anyone wants to contribute, PRs are welcome!

PS. @BrunnerLivio I think that @marcus-sa asked about NPM vs Yarn, not Yarn workspaces. I'm personally using NPM recently, but I don't have any preference here. Both aren't perfect, neither one convinced me, so I'm just using this one which is more popular now:)

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

marshall007 picture marshall007  路  3Comments

FranciZ picture FranciZ  路  3Comments

VRspace4 picture VRspace4  路  3Comments

rafal-rudnicki picture rafal-rudnicki  路  3Comments

tronginc picture tronginc  路  3Comments