From a6f588e45256d6cd9d3dd7c8f36f99ae8cc6d110 Mon Sep 17 00:00:00 2001 From: Umputun Date: Fri, 25 May 2018 21:13:36 -0500 Subject: [PATCH] remove support of CODECOV --- Dockerfile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index eaae4397..60bf0022 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,6 @@ FROM umputun/baseimage:buildgo-latest as build-backend ARG COVERALLS_TOKEN -ARG CODECOV_TOKEN ARG CI ARG TRAVIS ARG TRAVIS_BRANCH @@ -32,11 +31,6 @@ RUN if [ -z "$COVERALLS_TOKEN" ] ; then \ echo coverall not enabled ; \ else goveralls -coverprofile=.cover/cover.out -service=travis-ci -repotoken $COVERALLS_TOKEN; fi -RUN if [ -z "$CODECOV_TOKEN" ] ; then \ - echo codecov not enabled ; \ - else curl -s https://codecov.io/bash -o codecov && \ - bash codecov -f .cover/cover.out -X fix; fi - RUN go build -o remark -ldflags "-X main.revision=$(git rev-parse --abbrev-ref HEAD)-$(git describe --abbrev=7 --always --tags)-$(date +%Y%m%d-%H:%M:%S) -s -w" ./app