language: go

go:
  - 1.x

# skip the install step. don't `go get` deps. only build with code in vendor/
install: true

notifications:
  email: false

# install linter
before_script:
  - go install ./vendor/github.com/golangci/golangci-lint/cmd/golangci-lint

script:
  - golangci-lint run
  - go test -v -race ./...

# use the fast container-based test runner instead of the slow VM runner
sudo: false

language: go

go:
  - 1.x

# skip the install step. don't `go get` deps. only build with code in vendor/
install: true

notifications:
  email: false

# like script, but with set -e
before_script:
  - go install ./vendor/github.com/golangci/golangci-lint/cmd/golangci-lint

# like before_script, but with set +e
script:
  - golangci-lint run
  - go test -v -race ./...

Use fast container-based test runner on Travis (sudo: false)
Use fast container-based test runner on Travis (sudo: false)
