Frage

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?

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top