Skip to content

Commit 2ee2abb

Browse files
ci(travis): add linting
1 parent 984923b commit 2ee2abb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,17 @@ script:
1414
- go test -v -race ./... -coverprofile=profile.cov
1515
- $GOPATH/bin/goveralls -coverprofile=profile.cov -service=travis-ci
1616
stages:
17+
- 'Lint'
1718
- 'Integration tests'
1819
- 'Test'
1920
jobs:
2021
include:
22+
- stage: 'Lint'
23+
install:
24+
- go get github.com/golangci/golangci-lint/cmd/golangci-lint
25+
script:
26+
- golangci-lint run --out-format=tab --tests=false ./...
27+
2128
- stage: 'Integration Tests'
2229
merge_mode: replace
2330
env: SDK=go

0 commit comments

Comments
 (0)