2019-01-12 04:58:27 +00:00
|
|
|
language: go
|
|
|
|
go:
|
2021-03-17 21:38:42 +00:00
|
|
|
- "1.12.x"
|
|
|
|
- "1.13.x"
|
2019-01-12 04:58:27 +00:00
|
|
|
|
|
|
|
go_import_path: github.com/containerd/console
|
|
|
|
|
2021-03-17 21:38:42 +00:00
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
|
|
|
|
2019-01-12 04:58:27 +00:00
|
|
|
install:
|
2021-03-17 21:38:42 +00:00
|
|
|
- pushd ..; go get -u github.com/vbatts/git-validation; popd
|
|
|
|
- pushd ..; go get -u github.com/kunalkushwaha/ltag; popd
|
2019-09-27 21:51:53 +00:00
|
|
|
|
|
|
|
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/
|
2021-03-17 21:38:42 +00:00
|
|
|
- travis_wait ../project/script/validate/vendor
|
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
|