From 95a9e1a8e3e8c03cb5484297883eb08a68980ab1 Mon Sep 17 00:00:00 2001 From: msohailhussain Date: Tue, 14 Jul 2020 16:54:30 -0700 Subject: [PATCH 1/3] test coveralls --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index c3ac23e3..e1d77902 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,14 +35,15 @@ jobs: - for f in `find scripts/dockerfiles -type f`; do echo $f; docker run --rm -i hadolint/hadolint < $f; done - stage: Tests - name: codecov.io + name: coveralls os: linux dist: xenial + before_script: + - go get github.com/mattn/goveralls script: - make -e cover COVER_FILE=coverage.txt after_success: - # Replace with coveralls if/when the repo is made public - - bash <(curl -s https://codecov.io/bash) + - $GOPATH/bin/goveralls -coverprofile=coverage.txt -service=travis-ci - stage: Tests name: sourceclear From 88b8c63c68a47449dfe8a2cd67cb1e978abaf281 Mon Sep 17 00:00:00 2001 From: msohailhussain Date: Tue, 14 Jul 2020 16:59:19 -0700 Subject: [PATCH 2/3] check now --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index e1d77902..08afc43f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,11 +38,10 @@ jobs: name: coveralls os: linux dist: xenial - before_script: - - go get github.com/mattn/goveralls script: - make -e cover COVER_FILE=coverage.txt after_success: + - go get github.com/mattn/goveralls - $GOPATH/bin/goveralls -coverprofile=coverage.txt -service=travis-ci - stage: Tests From 13d6e30d1be77b2904097cab9d5023d1cd21529c Mon Sep 17 00:00:00 2001 From: msohailhussain Date: Wed, 15 Jul 2020 16:30:21 -0700 Subject: [PATCH 3/3] updated badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e1c64af0..9d35b2b4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![Build Status](https://travis-ci.com/optimizely/agent.svg?token=y3xM1z7bQsqHX2NTEhps&branch=master)](https://travis-ci.com/optimizely/agent) -[![codecov](https://codecov.io/gh/optimizely/agent/branch/master/graph/badge.svg?token=UabuO3fxyA)](https://codecov.io/gh/optimizely/agent) +[![Coverage Status](https://coveralls.io/repos/github/optimizely/agent/badge.svg)](https://coveralls.io/github/optimizely/agent) # Optimizely Agent Optimizely Agent is a service which exposes the functionality of the Full Stack and Rollouts SDKs as a highly available and distributed web application.