summaryrefslogtreecommitdiff
path: root/vendor/github.com/pion/mdns/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/pion/mdns/.travis.yml')
-rw-r--r--vendor/github.com/pion/mdns/.travis.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/vendor/github.com/pion/mdns/.travis.yml b/vendor/github.com/pion/mdns/.travis.yml
new file mode 100644
index 0000000..5efedaf
--- /dev/null
+++ b/vendor/github.com/pion/mdns/.travis.yml
@@ -0,0 +1,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