5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-25 08:41:36 +00:00

Update travis to go 1.9

This commit is contained in:
Wim 2017-08-29 20:34:32 +02:00
parent 2f7df2df43
commit 5a85258f74
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
language: go language: go
go: go:
#- 1.7.x #- 1.7.x
- 1.8.x - 1.9.x
# - tip # - tip
# we have everything vendored # we have everything vendored

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
go version |grep go1.8 || exit go version |grep go1.9 || exit
VERSION=$(git describe --tags) VERSION=$(git describe --tags)
mkdir ci/binaries mkdir ci/binaries
GOOS=windows GOARCH=amd64 go build -ldflags "-s -w -X main.githash=$(git log --pretty=format:'%h' -n 1)" -o ci/binaries/matterbridge-$VERSION-win64.exe GOOS=windows GOARCH=amd64 go build -ldflags "-s -w -X main.githash=$(git log --pretty=format:'%h' -n 1)" -o ci/binaries/matterbridge-$VERSION-win64.exe