Merge pull request #22 from aledbf/coveralls

Enable coveralls
This commit is contained in:
Prashanth B 2016-11-24 00:14:18 -08:00 committed by GitHub
commit 27a0ec41cc
3 changed files with 7 additions and 4 deletions

View file

@ -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

View file

@ -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:

View file

@ -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: