Consolidating travis cmake script.