mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-08-02 08:30:33 +00:00
[ci][coveralls] Adds coveralls code coverage during Travis CI run, adds CI badges
This commit is contained in:
parent
4d5ae295cc
commit
e43f06b61d
@ -10,6 +10,7 @@ env:
|
||||
|
||||
before_install:
|
||||
- sudo apt-get update -qq
|
||||
- go get github.com/mattn/goveralls
|
||||
|
||||
install:
|
||||
# workaround golint install error in https://github.com/golang/lint/issues/288
|
||||
@ -29,6 +30,7 @@ before_script:
|
||||
script:
|
||||
- ./build
|
||||
- sudo ./test.sh
|
||||
- $GOPATH/bin/goveralls -service=travis-ci
|
||||
- mkdir -p ${TRAVIS_BUILD_DIR}/dist
|
||||
- tar cvfz ${TRAVIS_BUILD_DIR}/dist/multus-cni_amd64.tar.gz --warning=no-file-changed --exclude="dist" --exclude="vendor" .
|
||||
- docker build -t nfvpe/multus -f ./images/Dockerfile .
|
||||
|
@ -1,5 +1,7 @@
|
||||

|
||||
|
||||
[](https://travis-ci.org/intel/multus-cni/builds)[](https://coveralls.io/github/intel/multus-cni?branch=master)[](https://goreportcard.com/report/github.com/intel/multus-cni)
|
||||
|
||||
* [MULTUS CNI plugin](#multus-cni-plugin)
|
||||
* [Quickstart Guide](#quickstart-guide)
|
||||
* [Multi-Homed pod](#multi-homed-pod)
|
||||
|
Loading…
Reference in New Issue
Block a user