Вопрос

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