Skip to content

Commit

Permalink
Use Go 1.11 (#7)
Browse files Browse the repository at this point in the history
Switch to Go modules and Go 1.11
  • Loading branch information
mwuertinger authored Aug 27, 2018
1 parent b1d72cf commit c657b05
Show file tree
Hide file tree
Showing 5 changed files with 117 additions and 390 deletions.
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
language: go
go:
- "1.10.x"
- "1.11.x"
install:
- /bin/true # Disable default install script
script:
- set -e
- go get -v ./...
- export GO111MODULE=on
- export GITHASH=$(git rev-parse HEAD) # Git commit hash is used as version string in main.go
- go build -v -ldflags "-extldflags '-static' -X main.githash=$GITHASH"
- diff -u <(echo -n) <(gofmt -d ./)
- go vet .
- go test -cover -race ./...
- export GITHASH=$(git rev-parse HEAD) # Git commit hash is used as version string in main.go
- go build -ldflags "-extldflags '-static' -X main.githash=$GITHASH"
- go test -cover -race -v ./...
378 changes: 0 additions & 378 deletions Gopkg.lock

This file was deleted.

Loading

0 comments on commit c657b05

Please sign in to comment.