2019-01-12 04:58:27 +00:00
|
|
|
language: go
|
|
|
|
go:
|
|
|
|
- "1.10.x"
|
2019-09-27 21:51:53 +00:00
|
|
|
- "1.11.x"
|
2019-01-12 04:58:27 +00:00
|
|
|
|
|
|
|
go_import_path: github.com/containerd/console
|
|
|
|
|
|
|
|
install:
|
|
|
|
- go get -d
|
|
|
|
- GOOS=openbsd go get -d
|
|
|
|
- GOOS=solaris go get -d
|
|
|
|
- GOOS=windows go get -d
|
2019-09-27 21:51:53 +00:00
|
|
|
- go get -u github.com/vbatts/git-validation
|
|
|
|
- go get -u github.com/kunalkushwaha/ltag
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- pushd ..; git clone https://github.com/containerd/project; popd
|
2019-01-12 04:58:27 +00:00
|
|
|
|
|
|
|
script:
|
2019-09-27 21:51:53 +00:00
|
|
|
- DCO_VERBOSITY=-q ../project/script/validate/dco
|
|
|
|
- ../project/script/validate/fileheader ../project/
|
2019-01-12 04:58:27 +00:00
|
|
|
- go test -race
|
|
|
|
- GOOS=openbsd go build
|
|
|
|
- GOOS=openbsd go test -c
|
|
|
|
- GOOS=solaris go build
|
|
|
|
- GOOS=solaris go test -c
|
|
|
|
- GOOS=windows go test
|