Update travis to go 1.9
This commit is contained in:
parent
2f7df2df43
commit
5a85258f74
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue