consolidated travis and build.sh