Skip to content

Reduce the number of test runs on Travis#56

Merged
ryanto merged 2 commits intoembermap:masterfrom
cvx:reduce-ember-tests
Jun 21, 2019
Merged

Reduce the number of test runs on Travis#56
ryanto merged 2 commits intoembermap:masterfrom
cvx:reduce-ember-tests

Conversation

@cvx
Copy link
Copy Markdown
Collaborator

@cvx cvx commented Jun 19, 2019

IMO Travis takes way too long to complete all tests for a PR, e.g.
"Ran for 34 min 15 sec
Total time 56 min 55 sec"

I believe we could cut some of the ember-try scenarios:

  • fastboot-1.2: was essentially the same as ember-lts-3.8 because fastboot in package.json is already using ^1.2.1
  • ember-default: was the same as stage: test
  • ember-lts-2.12, ember-lts-2.16: seems reasonable to limit ember 2.x tests to the oldest supported and the latest LTS versions

@ryanto
Copy link
Copy Markdown
Member

ryanto commented Jun 19, 2019

Thanks! I think this is a good change to make. Travis is also slow, so I'd like to see what the test times are without these scenarios.

@cvx
Copy link
Copy Markdown
Collaborator Author

cvx commented Jun 19, 2019

We probably should also merge build stages, either all into a single one, or at least "Additional tests" and "Versioned tests". There's no need to wait for "floating dependencies" scenario to finish before starting versioned scenarios.

@ryanto
Copy link
Copy Markdown
Member

ryanto commented Jun 20, 2019

Yup, I think merging Additional and Versioned sounds like a good idea. Do you want to do that with this PR or another?

cvx added 2 commits June 20, 2019 14:24
* `fastboot-1.2`: was essentially the same as `ember-lts-3.8` because `fastboot` in package.json is already using `^1.2.1`
* `ember-default`: was the same as `stage: test`
* `ember-lts-2.12`, `ember-lts-2.16`: seems reasonable to limit ember 2.x tests to the oldest supported and the latest LTS versions
@cvx cvx force-pushed the reduce-ember-tests branch from 548d386 to 90ab724 Compare June 20, 2019 12:27
@cvx
Copy link
Copy Markdown
Collaborator Author

cvx commented Jun 20, 2019

I've updated this PR.

Btw. the "deploy" stage is failing: https://travis-ci.org/embermap/ember-cli-fastboot-testing/jobs/547998598

@ryanto
Copy link
Copy Markdown
Member

ryanto commented Jun 21, 2019

Ok awesome!

I'll take a look at the deploy phase in another PR.

@ryanto ryanto merged commit b0921e6 into embermap:master Jun 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants