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

Use only two make jobs on Travis #257

Merged

Conversation

sethfowler
Copy link
Contributor

Since we only get two cores on Travis, it makes sense to only use two make jobs. For local builds, IMO we should still default to 8, as that will be the best choice for most developers' machines.

Note that we use ENV to persist MAKEFLAGS in the Docker image, so the MAKEFLAGS value passed to docker build will also apply to the docker run invocations in .travis.yml.

Before merging this, we should verify that it doesn't have a negative effect on our build times on Travis.

@sethfowler sethfowler self-assigned this Jan 24, 2017
@sethfowler sethfowler force-pushed the seth/use-only-two-make-jobs-on-travis branch from 470d6c7 to 91993e5 Compare January 24, 2017 23:12
@sethfowler sethfowler merged commit 539e558 into p4lang:master Jan 24, 2017
@sethfowler sethfowler deleted the seth/use-only-two-make-jobs-on-travis branch January 24, 2017 23:52
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