Change travis to compile before running spec