summaryrefslogtreecommitdiff
path: root/vendor/github.com/pion/mdns/.travis.yml
blob: 5efedaf8b73ad6692c9d1ee5cc7966ebb02de7e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
language: go

go:
  - "1.x" # use the latest Go release

env:
  - GO111MODULE=on

before_script:
  - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.18.0

script:
  - golangci-lint run ./...
  - rm -rf examples # Remove examples, no test coverage for them
  - go test -coverpkg=$(go list ./... | tr '\n' ',') -coverprofile=cover.out -v -race -covermode=atomic ./...
  - bash <(curl -s https://codecov.io/bash)
  - bash .github/assert-contributors.sh
  - bash .github/lint-disallowed-functions-in-library.sh
  - bash .github/lint-commit-message.sh