Skip to content

Commit

Permalink
add .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shzy2012 committed Oct 24, 2019
1 parent 318013c commit b57dd29
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
language: go

env:
- GO111MODULE=on

go:
- 1.12.x

branches: # build only on these branches
only:
- master

# Skip the install step. Don't `go get` dependencies. Only build with the code
# in vendor/
install: true

# Make sure golangci-lint is vendored.
before_script:
- go install github.com/golangci/golangci-lint/cmd/golangci-lint

script:
- golangci-lint run # run a bunch of code checkers/linters in parallel

0 comments on commit b57dd29

Please sign in to comment.