Skip to content

Commit

Permalink
Merge pull request #22 from aledbf/coveralls
Browse files Browse the repository at this point in the history
Enable coveralls
  • Loading branch information
bprashanth authored Nov 24, 2016
2 parents 850af93 + 61f124d commit 27a0ec4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 27a0ec4

Please sign in to comment.