packer-cn/vendor/github.com/linode/linodego/.travis.yml

22 lines
435 B
YAML

language: "go"
matrix:
allow_failures:
- go: tip
env:
- GO111MODULE=on
go:
- "1.13"
script:
- touch .env
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.21.0
- go mod download
- go mod vendor
- make test ARGS='-race -count=2 -coverprofile=coverage.txt -covermode=atomic ./...'
after_success:
- bash <(curl -s https://codecov.io/bash)