Skip to content

Commit

Permalink
添加sha1 hash文件校验
Browse files Browse the repository at this point in the history
到 travis 查看
  • Loading branch information
Kisesy committed Dec 24, 2017
1 parent ecb967a commit 128c947
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ install:
script:
- export EXE=gscan_quic
- export TAR_EXCLUDE="--exclude=*.go --exclude=*.bz2 --exclude=vendor"
- export CGO_ENABLED=0
- export CGO_ENABLED=0
- GOOS=windows GOARCH=386 go build -ldflags "-w -s"
- tar cjf ${EXE}_windows_386-${TRAVIS_TAG}.tar.bz2 * ${TAR_EXCLUDE} --exclude "${EXE}"
- GOOS=windows GOARCH=amd64 go build -ldflags "-w -s"
Expand All @@ -21,6 +21,8 @@ script:
- GOOS=darwin GOARCH=amd64 go build -ldflags "-w -s"
- tar cjf ${EXE}_macos_amd64-${TRAVIS_TAG}.tar.bz2 * ${TAR_EXCLUDE} --exclude "${EXE}.exe"

- sha1sum *.bz2

deploy:
provider: releases
api_key:
Expand Down

0 comments on commit 128c947

Please sign in to comment.