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?

有帮助吗?

解决方案

i fixed it - basically add the same SBT_OPTS option to env section of your .travis.yml file

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top