Corrected some errors in travis scripts.