mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 03:48:45 +00:00
This commit adds a .travis file which enables Travis builds for govmm. The script builds the source and runs the unit tests and gometalinter enabling - misspell - vet - ineffassign - gofmt - gocyclo 15 - golint - errcheck - deadcode Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
22 lines
467 B
YAML
22 lines
467 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.8
|
|
- 1.9
|
|
- tip
|
|
|
|
go_import_path: github.com/intel/govmm
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
|
|
before_install:
|
|
- go get github.com/alecthomas/gometalinter
|
|
- gometalinter --install
|
|
|
|
script:
|
|
- go env
|
|
- go test -v ./...
|
|
- gometalinter --tests --vendor --disable-all --enable=misspell --enable=vet --enable=ineffassign --enable=gofmt --enable=gocyclo --cyclo-over=15 --enable=golint --enable=errcheck --enable=deadcode ./...
|