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

Speed up Travis CI build #84

Closed
qinzuoyan opened this issue Jun 14, 2018 · 3 comments
Closed

Speed up Travis CI build #84

qinzuoyan opened this issue Jun 14, 2018 · 3 comments

Comments

@qinzuoyan
Copy link
Contributor

qinzuoyan commented Jun 14, 2018

now building pegasus takes more than 30 minutes (travis ci timeout is 50 minutes), we need to speed up it.

@qinzuoyan
Copy link
Contributor Author

some efforts: #83
but not enough

@qinzuoyan
Copy link
Contributor Author

qinzuoyan commented Jun 14, 2018

Refer to: https://eng.localytics.com/best-practices-and-common-mistakes-with-travis-ci/
"By default, Travis will build twice for each pull request. One of the builds will be the build for the branch itself, and one of the builds will be for the potential future merge commit against the target of the pull request. For us, because we merge to master quickly, it’s rare that the merge commit build will find something that the branch build doesn’t. Because of that, we’ve disabled the second build for a lot of our less fundamental services."

We choose to build only pushed pull requests.

@qinzuoyan
Copy link
Contributor Author

more efforts: #85

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

No branches or pull requests

3 participants