Skip to content

Commit

Permalink
Fixing CI (#243)
Browse files Browse the repository at this point in the history
Attempting to fix CI, by reducing memory used during testing.
  • Loading branch information
ethankhall authored and Ethan Hall committed Aug 6, 2018
1 parent 57b3502 commit dfe056a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ subprojects {
}
task.testLogging.exceptionFormat = 'full'
}

task.minHeapSize = '128m'
task.maxHeapSize = '512m'

task.afterSuite { desc, result ->
if (!desc.parent) { // will match the outermost suite
logger.lifecycle("Task {} results: {} ({} tests, {} successes, {} failures, {} skipped)", task.path,
Expand Down
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ org.gradle.configureondemand=true

#Gradle will run tasks from subprojects in parallel
#Higher CPU usage, faster builds
org.gradle.parallel=true
org.gradle.parallel=true
org.gradle.jvmargs=-Xmx1g -Xms256m

0 comments on commit dfe056a

Please sign in to comment.