문제

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