ci(go1.11): Add module support for go 1.11 CI testing
This commit is contained in:
parent
7516f04703
commit
f8e8106b9d
|
@ -1,17 +1,19 @@
|
||||||
language: go
|
language: go
|
||||||
sudo: false
|
sudo: false
|
||||||
go:
|
go:
|
||||||
|
- 1.11
|
||||||
|
- 1.10.x
|
||||||
- 1.9
|
- 1.9
|
||||||
- 1.8
|
- 1.8
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- go get -u -t ./...
|
- GO111MODULE=on go get -u -t ./...
|
||||||
- go get -u gopkg.in/alecthomas/gometalinter.v1
|
- GO111MODULE=on go get -u gopkg.in/alecthomas/gometalinter.v1
|
||||||
- gometalinter.v1 --install
|
- gometalinter.v1 --install
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- gometalinter.v1 --config metalinter.json ./...
|
- gometalinter.v1 --config metalinter.json ./...
|
||||||
- ./test.sh
|
- GO111MODULE=on ./test.sh
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
Loading…
Reference in New Issue