Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallelize Travis build #1601

Closed
ParthS007 opened this issue Jan 7, 2018 · 6 comments
Closed

Parallelize Travis build #1601

ParthS007 opened this issue Jan 7, 2018 · 6 comments
Labels

Comments

@ParthS007
Copy link
Member

ParthS007 commented Jan 7, 2018

Actual Behaviour

Presently,Travis takes a lot of time to execute

Expected Behaviour

After parallelizing, Travis will take very less time as compared to present execution time.

Would you like to work on the issue?

I would like to work on it but suggestions required.

Please give your views @mariobehling @geekyd @agbilotia1998 @Princu7 @aayusharora

@ParthS007
Copy link
Member Author

I am thinking to run sample tests Parallel and then run the selenium tests. It will reduce a lot of execution time if it is implemented successfully.

@dilpreetsio
Copy link
Member

@ParthS007 I think this will significantly reduce the time for travis. Please go ahead.

@agbilotia1998
Copy link
Member

@ParthS007 most of the time of travis is consumed in generating samples.So if we run these tests in parallel I guess we can reduce the build time.

@ParthS007 ParthS007 mentioned this issue Jan 14, 2018
7 tasks
@ParthS007
Copy link
Member Author

@geekyd @agbilotia1998 I have studied it and now I have two methods:
First one is to divide the tests into multiple files and then call them ( I found some useful thing related to it on Stackoverflow )
The second one is set an env variable for each instance, then run the tests, in the tests file, we can add if clauses and run only a test if that corresponding env. Variable matches.
Which way to go?

@agbilotia1998
Copy link
Member

@ParthS007 I guess the first method won't work for us as the two processes would run one after the other even if we place their corresponding tests in different files.The second one could help if it creates separate builds for each instance.

@mariobehling
Copy link
Member

What we need is a working deployment before any other improvements. We also need an app that can generate the FOSSASIA Summit for this year.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants