Skip to content

Commit

Permalink
Update codacy coverage version to not use bintray (stargate#708)
Browse files Browse the repository at this point in the history
  • Loading branch information
lolgab authored Feb 23, 2021
1 parent 0a0dd11 commit ccf80bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ echoinfo "Uploading test results"
# Determine CODACY_REPORTER_VERSION once to avoid hitting the "get latest" API too frequently
# in the get.sh commands below. Note: the sed command was copied from get.sh
export CODACY_REPORTER_VERSION="$(curl https://api.bintray.com/packages/codacy/Binaries/codacy-coverage-reporter/versions/_latest | sed -e 's/.*name[^0-9]*\([0-9]\{1,\}[.][0-9]\{1,\}[.][0-9]\{1,\}\).*/\1/' )"
export CODACY_REPORTER_VERSION="$(curl https://artifacts.codacy.com/bin/codacy-coverage-reporter/latest)"
echoinfo "Using Codacy Reporter version \$CODACY_REPORTER_VERSION"
export CODACY_PROJECT_TOKEN="$(cat /workspace/ci/codacy-project-token | sed -e 's/\n//g')"
curl -Ls https://coverage.codacy.com/get.sh > get.sh
Expand Down

0 comments on commit ccf80bc

Please sign in to comment.