I tried to use some tasks from a Makefile in my .travis.yml file and it did not work as expected.
It was in a Scala project and the build end up in a OutOfMemoryError ([error] java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: unable to create new native thread).
But if I launch the command outside the makefile task it goes ok.
You can find more informations in this build log : http://travis-ci.org/#!/athieriot/screwdriver/builds/1691503
I don't know if Makefile are officially supported so... maybe it is completely normal.
Eventually, if you need some help for that, I can give some little help
It is something project-specific. You need to bump the -Xmx value you are passing to JVM arguments. Makefiles can be used just like anything else but they do not affect JVM behavior in any way. Flags you pass and what your test suite may be doing does, though, but it is something you need to fix on your end.
Thank you !