File: .travis.yml

package info (click to toggle)
golang-github-cockroachdb-cockroach-go 0.0~git20170808.c806b48-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 96 kB
  • sloc: makefile: 3
file content (20 lines) | stat: -rw-r--r-- 641 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: go

go:
- 1.x
- 1.8.x

script:
  - go test       -v ./...
  - go test -race -v ./...

after_script:
  - gofmt -s -d -l .
  - go get -u github.com/cockroachdb/crlfmt && crlftm -tab 2 .
  - ! go tool vet -all -shadow 2>&1 | grep -vF 'declaration of "err" shadows declaration at'
  - ! git grep -lE '^// Author' -- '*.go'
  - ! git grep -LE '^// Copyright' -- '*.go'
  - go get -u github.com/kisielk/errcheck && errcheck ./...
  - go get -u github.com/golang/lint/golint && golint ./...
  - go get -u github.com/mdempsky/unconvert && unconvert ./...
  - go get -u github.com/cockroachdb/cockroach/pkg/cmd/metacheck && metacheck ./...