Fix the script for travis.