Generified travis-build.sh.