Travis Script Tweak

Tweaked travis build to run sbt compile first, hopefully to solve cannot allocate memory problem in travis build.