mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-14 03:50:26 +00:00
42 lines
797 B
YAML
42 lines
797 B
YAML
language: go
|
|
|
|
env:
|
|
- GO111MODULE=on
|
|
|
|
install: true
|
|
|
|
before_install:
|
|
- export PATH=$HOME/gopath/bin:$PATH
|
|
# install gometalinter
|
|
- curl -L https://git.io/vp6lP | sh
|
|
|
|
script:
|
|
- PATH=$PWD/bin:$PATH gometalinter ./...
|
|
- go test -race -cover ./...
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
include:
|
|
- go: "1.7.x"
|
|
script: go test -v ./...
|
|
- go: "1.8.x"
|
|
script: go test -v ./...
|
|
- go: "1.9.x"
|
|
script: go test -v ./...
|
|
- go: "1.10.x"
|
|
script: go test -v ./...
|
|
- go: "1.11.x"
|
|
script: go test -v -mod=vendor ./...
|
|
- go: "1.12.x"
|
|
script: go test -v -mod=vendor ./...
|
|
- go: "1.13.x"
|
|
script: go test -v -mod=vendor ./...
|
|
- go: "1.14.x"
|
|
script: go test -v -mod=vendor ./...
|
|
- go: "tip"
|
|
script: go test -v -mod=vendor ./...
|
|
|
|
git:
|
|
depth: 10
|