Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Speeding up Travis #112

Merged
merged 1 commit into from
Jul 31, 2017
Merged

Speeding up Travis #112

merged 1 commit into from
Jul 31, 2017

Conversation

bobheadxi
Copy link
Collaborator

@bobheadxi bobheadxi commented Jul 29, 2017

Changes

  • Increase Gradle memory allocation to enable dex in process

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 10.056% when pulling fa75903 on bobheadxi:pr-build-tweaks into 58edeea on d4rken:dev.

@d4rken
Copy link
Member

d4rken commented Jul 29, 2017

How much RAM do we have on Travis though?

@bobheadxi
Copy link
Collaborator Author

bobheadxi commented Jul 30, 2017

Not sure, but it was recommended here under "General Improvements" - its the first thing i tried since a note about enabling dex appears on every travis build:

...
Running dex as a separate process.
To run dex in process, the Gradle daemon needs a larger heap.
It currently has 1024 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to at least 1536 MB.
To do this set org.gradle.jvmargs=-Xmx1536M in the project gradle.properties.
...

This message didn't appear with the latest Travis build, so presumably the heap increase is fine for Travis. However, build times haven't changed at all: 23:47 vs 23:52
I'll probably leave the change in anyway?

@d4rken
Copy link
Member

d4rken commented Jul 30, 2017

I'll probably leave the change in anyway?

Up to you 😁

@bobheadxi bobheadxi merged commit 0f2a899 into d4rken-org:dev Jul 31, 2017
@bobheadxi bobheadxi deleted the pr-build-tweaks branch August 2, 2017 05:27
bobheadxi added a commit that referenced this pull request Sep 6, 2017
bobheadxi added a commit that referenced this pull request Sep 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants