Reputation: 33469
I have an sbt project that builds fine locally (because I have the SBT_OPTS="-XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:PermSize=256M -XX:MaxPermSize=512M"
in my ~/.sbtconfig
) but the scala compiler runs out of memory on Travis CI. Is there any project specific settings I can add to my project itself that Travis would pick up?
Upvotes: 1
Views: 344
Reputation: 33469
i fixed it - basically add the same SBT_OPTS
option to env section of your .travis.yml file
Upvotes: 1