Updated travis ci to do a compile first