Adds go module support that came into effect in go version 1.11 (#201)

Adds go module support that came into effect in go version 1.11
This commit is contained in:
Ryan O'Hara-Reid
2018-11-01 17:40:54 +11:00
committed by Adrian Gallagher
parent 506940587e
commit 5dd0fecc62
6 changed files with 36 additions and 148 deletions

View File

@@ -15,17 +15,12 @@ matrix:
- language: go
go:
- 1.10.x
before_install:
- go get -t -v ./...
- 1.11.x
env:
- GO111MODULE=on
install: true
script:
- ./testdata/test.sh
install:
- go get github.com/gorilla/websocket
- go get github.com/toorop/go-pusher
- go get github.com/thrasher-/socketio
- go get github.com/beatgammit/turnpike
- go get github.com/gorilla/mux
- go get golang.org/x/crypto/scrypt
- go test -race -coverprofile=./testdata/coverage.txt -covermode=atomic ./...
after_success:
- bash <(curl -s https://codecov.io/bash)