Skip to content

Commit 63fc3c6

Browse files
committed
set sbt options in .sbtopts not only .travis.yml
without this I was having trouble running tests locally, for lack of heap
1 parent ec9f9d7 commit 63fc3c6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.sbtopts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-J-XX:ReservedCodeCacheSize=256M
2+
-J-Xmx3072M

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ env:
2323
- TEST_COMMAND="-Dmima.testScalaVersion=2.12.0-RC2 testFunctional"
2424

2525
script:
26-
- sbt -J-XX:ReservedCodeCacheSize=256M -J-Xmx3072M $TEST_COMMAND
26+
- sbt $TEST_COMMAND
2727

2828
# Tricks to avoid unnecessary cache updates
2929
- find $HOME/.sbt -name "*.lock" | xargs rm

0 commit comments

Comments
 (0)