commit
27a0ec41cc
3 changed files with 7 additions and 4 deletions
|
@ -15,6 +15,8 @@ go_import_path: k8s.io/ingress
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
# to add additional secure variables:
|
||||||
|
# docker run --rm caktux/travis-cli encrypt key=value -r kubernetes/ingress
|
||||||
- RELEASE="ci-${TRAVIS_BUILD_ID}"
|
- RELEASE="ci-${TRAVIS_BUILD_ID}"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
@ -27,8 +29,6 @@ before_script:
|
||||||
- export PATH=$PATH:$PWD/hack/e2e-internal/
|
- export PATH=$PATH:$PWD/hack/e2e-internal/
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# enable kubernetes/ingress in
|
- make fmt lint vet cover
|
||||||
# coveralls.io and add cover task
|
|
||||||
- make fmt lint vet test
|
|
||||||
#- make controllers controllers-images
|
#- make controllers controllers-images
|
||||||
#- make test-e2e
|
#- make test-e2e
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -46,7 +46,7 @@ test-e2e: ginkgo
|
||||||
cover:
|
cover:
|
||||||
@go list -f '{{if len .TestGoFiles}}"go test -coverprofile={{.Dir}}/.coverprofile {{.ImportPath}}"{{end}}' ${GO_LIST_FILES} | xargs -L 1 sh -c
|
@go list -f '{{if len .TestGoFiles}}"go test -coverprofile={{.Dir}}/.coverprofile {{.ImportPath}}"{{end}}' ${GO_LIST_FILES} | xargs -L 1 sh -c
|
||||||
gover
|
gover
|
||||||
goveralls -coverprofile=gover.coverprofile -service travis-ci -repotoken ${COVERALLS_TOKEN}
|
goveralls -coverprofile=gover.coverprofile -service travis-ci
|
||||||
|
|
||||||
.PHONY: vet
|
.PHONY: vet
|
||||||
vet:
|
vet:
|
||||||
|
|
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
image:https://travis-ci.org/kubernetes/ingress.svg?branch=master["Build Status", link="https://travis-ci.org/kubernetes/ingress"]
|
image:https://travis-ci.org/kubernetes/ingress.svg?branch=master["Build Status", link="https://travis-ci.org/kubernetes/ingress"]
|
||||||
|
|
||||||
|
image:https://coveralls.io/repos/github/kubernetes/ingress/badge.svg?branch=master["Coverage Status", link="https://coveralls.io/github/kubernetes/ingress"]
|
||||||
|
|
||||||
|
|
||||||
= Ingress
|
= Ingress
|
||||||
:toc: macro
|
:toc: macro
|
||||||
:toc-title:
|
:toc-title:
|
||||||
|
|
Loading…
Reference in a new issue