diff --git a/.travis.yml b/.travis.yml index b9c2eca32a..9ab1d9698b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,8 @@ go_import_path: k8s.io/ingress env: global: + # to add additional secure variables: + # docker run --rm caktux/travis-cli encrypt key=value -r kubernetes/ingress - RELEASE="ci-${TRAVIS_BUILD_ID}" install: @@ -27,8 +29,6 @@ before_script: - export PATH=$PATH:$PWD/hack/e2e-internal/ script: - # enable kubernetes/ingress in - # coveralls.io and add cover task - - make fmt lint vet test + - make fmt lint vet cover #- make controllers controllers-images #- make test-e2e diff --git a/Makefile b/Makefile index 966831460d..1857bc195b 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ test-e2e: ginkgo cover: @go list -f '{{if len .TestGoFiles}}"go test -coverprofile={{.Dir}}/.coverprofile {{.ImportPath}}"{{end}}' ${GO_LIST_FILES} | xargs -L 1 sh -c gover - goveralls -coverprofile=gover.coverprofile -service travis-ci -repotoken ${COVERALLS_TOKEN} + goveralls -coverprofile=gover.coverprofile -service travis-ci .PHONY: vet vet: diff --git a/README.adoc b/README.adoc index 9ab9c11c0d..89b9247447 100644 --- a/README.adoc +++ b/README.adoc @@ -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://coveralls.io/repos/github/kubernetes/ingress/badge.svg?branch=master["Coverage Status", link="https://coveralls.io/github/kubernetes/ingress"] + + = Ingress :toc: macro :toc-title: