Skip to content

Commit

Permalink
drone: remove coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed Aug 7, 2019
1 parent fc87ede commit 12407f9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 47 deletions.
14 changes: 0 additions & 14 deletions drone/.drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -103,19 +103,6 @@ local build(go_version) = {
},
};

local coverage_report = {
name: 'codecov-report',
image: 'golang',
commands: ['curl -s https://codecov.io/bash | bash -s -- -t ${CODECOV_TOKEN}'],
detach: true,
environment: {
CODECOV_TOKEN: {
from_secret: 'codecov_token',
},
},
depends_on: ['coverage'],
};

local test_ci_dockerfile = {
name: 'test-ci-dockerfile',
image: 'plugins/docker',
Expand All @@ -140,7 +127,6 @@ local pipeline(go_version) = {
steps: [
mod_download(go_version),
coverage(go_version),
coverage_report,
lint,
build(go_version),
test_ci_dockerfile,
Expand Down
33 changes: 0 additions & 33 deletions drone/.drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,6 @@ steps:
depends_on:
- mod-download

- name: codecov-report
image: golang
detach: true
commands:
- "curl -s https://codecov.io/bash | bash -s -- -t ${CODECOV_TOKEN}"
environment:
CODECOV_TOKEN:
from_secret: codecov_token
depends_on:
- coverage

- name: lint
pull: always
image: golangci/golangci-lint
Expand Down Expand Up @@ -156,17 +145,6 @@ steps:
depends_on:
- mod-download

- name: codecov-report
image: golang
detach: true
commands:
- "curl -s https://codecov.io/bash | bash -s -- -t ${CODECOV_TOKEN}"
environment:
CODECOV_TOKEN:
from_secret: codecov_token
depends_on:
- coverage

- name: lint
pull: always
image: golangci/golangci-lint
Expand Down Expand Up @@ -233,17 +211,6 @@ steps:
depends_on:
- mod-download

- name: codecov-report
image: golang
detach: true
commands:
- "curl -s https://codecov.io/bash | bash -s -- -t ${CODECOV_TOKEN}"
environment:
CODECOV_TOKEN:
from_secret: codecov_token
depends_on:
- coverage

- name: lint
pull: always
image: golangci/golangci-lint
Expand Down

0 comments on commit 12407f9

Please sign in to comment.