Update travis to go 1.10

This commit is contained in:
Wim 2018-02-23 00:56:43 +01:00
parent 78238c85d4
commit 4fed720f97
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.9.x - 1.10.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.9 || exit go version |grep go1.10 || 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-windows-amd64.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-windows-amd64.exe