travis/build.sh: fix exit code