language: go
go:
  - 1.12.x
  - tip

go_import_path: github.com/containerd/go-cni

install:
  - go get -d
  - 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

script:
    - DCO_VERBOSITY=-q ../project/script/validate/dco
    - ../project/script/validate/fileheader ../project/
    - go test -race -coverprofile=coverage.txt -covermode=atomic

after_success:
    - bash <(curl -s https://codecov.io/bash)

language: go
go:
  - 1.12.x
  - tip

go_import_path: github.com/containerd/go-cni

install:
  - go get -d
  - env GO111MODULE=off go get -u github.com/vbatts/git-validation
  - env GO111MODULE=off go get -u github.com/kunalkushwaha/ltag

before_script:
  - pushd ..; git clone https://github.com/containerd/project; popd

script:
    - DCO_VERBOSITY=-q ../project/script/validate/dco
    - ../project/script/validate/fileheader ../project/
    - ../project/script/validate/vendor
    - go test -race -coverprofile=coverage.txt -covermode=atomic

after_success:
    - bash <(curl -s https://codecov.io/bash)

Use script/validate/vendor to confirm vendor/ is correct
Use script/validate/vendor to confirm vendor/ is correct

Signed-off-by: Kazuyoshi Kato <732288c132d39c7d9231a005036e5ecd0fff1d64@amazon.com>
