From 8d0a6542d56b202c6b06eb5796f4f2e7c964c9b4 Mon Sep 17 00:00:00 2001 From: Charlie Drage Date: Tue, 29 Nov 2016 08:56:06 -0500 Subject: [PATCH] Update TRAVIS CI to add coveralls Updates travis to enable coveralls support. Fixes https://github.com/kubernetes-incubator/kompose/issues/281 --- .travis.yml | 4 ++++ README.md | 1 + 2 files changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 410abaf7..144a7a18 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,9 @@ language: go go: - 1.6 +before_install: + - go get github.com/mattn/goveralls + install: - true @@ -23,3 +26,4 @@ script: - cp kompose $GOPATH/bin/ - make test-cmd + - goveralls -service=travis-ci diff --git a/README.md b/README.md index 5cd385f8..51093c70 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Kompose (Kubernetes + Compose) [![Build Status](https://travis-ci.org/kubernetes-incubator/kompose.svg?branch=master)](https://travis-ci.org/kubernetes-incubator/kompose) +[![Coverage Status](https://coveralls.io/repos/github/kubernetes-incubator/kompose/badge.svg?branch=master)](https://coveralls.io/github/kubernetes-incubator/kompose?branch=master) [![Join us in #kompose on k8s Slack](https://s3.eu-central-1.amazonaws.com/ngtuna/join-us-on-slack.png)](http://slack.kubernetes.io) in #kompose channel