7 - go get github.com/Kisesy/gscan_quic
8 - sudo apt-get install p7zip-full
11 - export CGO_ENABLED=0
12 - export EXE=gscan_quic
13 - export TAR_EXCLUDE="--exclude=*.go --exclude=*.bz2 --exclude=*.7z --exclude=*.xz --exclude=vendor"
15 - echo ${TRAVIS_TAG} > Version.txt
17 - export GOOS=windows GOARCH=386 && go build -ldflags "-w -s"
18 - 7za a ${EXE}_${GOOS}_${GOARCH}-${TRAVIS_TAG}.7z -ms=on -mx=9 -r- -mmt -x'!*.go' -x'!*.7z' -x'!*.zip' -x'!vendor/' *
20 - export GOOS=windows GOARCH=amd64 && go build -ldflags "-w -s"
21 - 7za a ${EXE}_${GOOS}_${GOARCH}-${TRAVIS_TAG}.7z -ms=on -mx=9 -r- -mmt -x'!*.go' -x'!*.7z' -x'!*.zip' -x'!vendor/' *
24 - export GOOS=linux GOARCH=386 XZ_OPT=-9 && go build -ldflags "-w -s"
25 - tar cvJpf ${EXE}_${GOOS}_${GOARCH}-${TRAVIS_TAG}.tar.xz * ${TAR_EXCLUDE}
26 - export GOOS=linux GOARCH=amd64 XZ_OPT=-9 && go build -ldflags "-w -s"
27 - tar cvJpf ${EXE}_${GOOS}_${GOARCH}-${TRAVIS_TAG}.tar.xz * ${TAR_EXCLUDE}
29 - export GOOS=linux GOARCH=arm && go build -ldflags "-w -s"
30 - tar cjf ${EXE}_${GOOS}_${GOARCH}-${TRAVIS_TAG}.tar.bz2 * ${TAR_EXCLUDE}
31 - export GOOS=darwin GOARCH=amd64 && go build -ldflags "-w -s"
32 - tar cjf ${EXE}_${GOOS}_${GOARCH}-${TRAVIS_TAG}.tar.bz2 * ${TAR_EXCLUDE}
34 - md5sum *.7z *.xz *.bz2 | tee md5sum
35 - sha1sum *.7z *.xz *.bz2 | tee sha1sum