Skip to content

Commit

Permalink
drone: use a pipe for the coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed Jul 26, 2019
1 parent a3090e5 commit 1e7b3ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drone/.drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ local build(go_version) = {
local coverage_report = {
name: 'codecov-report',
image: 'golang',
commands: ['bash <(curl -s https://codecov.io/bash)'],
commands: ['curl -s https://codecov.io/bash | bash'],
depends_on: ['coverage'],
};

Expand Down
6 changes: 3 additions & 3 deletions drone/.drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ steps:
- name: codecov-report
image: golang
commands:
- bash <(curl -s https://codecov.io/bash)
- "curl -s https://codecov.io/bash | bash"
depends_on:
- coverage

Expand Down Expand Up @@ -149,7 +149,7 @@ steps:
- name: codecov-report
image: golang
commands:
- bash <(curl -s https://codecov.io/bash)
- "curl -s https://codecov.io/bash | bash"
depends_on:
- coverage

Expand Down Expand Up @@ -218,7 +218,7 @@ steps:
- name: codecov-report
image: golang
commands:
- bash <(curl -s https://codecov.io/bash)
- "curl -s https://codecov.io/bash | bash"
depends_on:
- coverage

Expand Down

0 comments on commit 1e7b3ca

Please sign in to comment.