.travis.yml 584 字节
Newer Older
S
stormgbs 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
language: go
go:
    - 1.12.x
    - 1.13.x

go_import_path: github.com/containerd/fifo

install:
  - cd $GOPATH/src/github.com/containerd/fifo
  - GO111MODULE="on" go mod vendor
  - 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/
  - make deps
  - make fmt
  - make vet
  - make test

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