question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Travis & parallelize autogenerated versionCompatibility scenarios

See original GitHub issue

Is there a way to use versionCompatibility with ember try:each and have the jobs run parallel on Travis?

Mirage’s current .travis.yml looks like this and I’m wondering if there’s a way to leverage the autogeneration piece from Ember Try, but still get parallel test runs in Travis.

Alternatively, is there a current “best practice” around these setups? I’m seeing 2 or 3 different configs being used across popular projects.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
rwjbluecommented, Aug 29, 2018

FYI - the issue with linting is not about speed, its about ensuring that the linting runs with the specific versions in your lockfile. When you lint as part of your ember-try config, you end up getting trolled by things like patch releases of prettier/eslint-plugin-node/etc.

0reactions
kategenglercommented, Aug 14, 2018

They are pretty fast, but it seems wasteful to lint for every scenario. If you do it as a first stage with a fail fast, you can avoid running any scenarios if linting does fail. To run test without lint, run ember test --query 'nolint'. The first scenario run will be the default which is floated deps, though the rest of the scenarios will run in the ember try:each case; in the travis parallel case it would also fail fast.

On Tue, Aug 14, 2018 at 5:03 PM, Sam Selikoff notifications@github.com wrote:

I see.

I think the linting tests are super fast, right? Also, how do you run your ember test suite and ignore the autogenerated linting tests?

I think test:browser is for a fast failure – if the floating deps cause an error I’d want to know after 1 build instead of running all versioned tests. I think I got the idea from Robert. Is it a good idea?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ember-cli/ember-try/issues/202#issuecomment-413015188, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbHOo9ot_05IK22kyN6f8lY0gRGVydiks5uQzsHgaJpZM4V64R4 .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Speeding up the build - Travis CI Docs
Parallelizing your Builds across Virtual Machines # ... To speed up a test suite, you can break it up into several parts using...
Read more >
How to Build Your First CI/CD Pipeline With Travis CI?
In this blog, we will see how to build our first CI/CD pipeline with Travis CI along with its integration with LambdaTest.
Read more >
Adaptors to make Buildbot more like travis - GitHub
unlimitted build parallelization on your own infra. Basically we provide a compatibility shim in buildbot that allows it to consume a .travis.yml file....
Read more >
What is Parallel Testing and How Does it Work? - Semaphore CI
Version and regression testing. Testing the code on various runtimes allows us to find compatibility errors. The following example uses a job ...
Read more >
How to run Travis CI parallel jobs with build matrix feature fast
For instance, when you want to test your project on 2 different programming language versions and with 2 different browsers then Travis would ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found