Fixed script and env for Travis.