.cirrus.yml
raw| 1 | container: |
| 2 | dockerfile: Dockerfile |
| 3 | |
| 4 | env: |
| 5 | GOPROXY: https://proxy.golang.org |
| 6 | GO111MODULE: on |
| 7 | |
| 8 | test_task: |
| 9 | modules_cache: |
| 10 | fingerprint_script: cat go.sum |
| 11 | folder: $GOPATH/pkg/mod |
| 12 | build_script: go build -v ./... |
| 13 | test_script: go test -p 1 -v ./... |
| 14 | |
| 15 | lint_task: |
| 16 | env: |
| 17 | matrix: |
| 18 | - GOOS: linux |
| 19 | - GOOS: windows |
| 20 | lint_script: |
| 21 | golangci-lint run ./tpmutil/... ./tpm2/... |