Fix travis.ci scripts.