Skip to content

Commit 73a4b29

Browse files
committed
download codecov uploader for travis-ci
this replaces the original pip codecov library. suppress github ci no-github-ci since this change doesn't affect it.
1 parent 4b8fdcc commit 73a4b29

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.travis.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ install:
128128
- pip install redis
129129
- pip install pytz whoosh pyjwt requests
130130
- pip install jinja2
131-
- pip install pytest-cov codecov
131+
- pip install pytest-cov
132132
- pip install beautifulsoup4
133133
- if [[ $TRAVIS_PYTHON_VERSION != "3.4"* ]]; then pip install docutils; fi
134134
- if [[ $TRAVIS_PYTHON_VERSION != "3.4"* ]]; then pip install mistune==0.8.4; fi
@@ -177,4 +177,13 @@ script:
177177
- ./setup.py build_doc
178178

179179
after_success:
180-
- codecov
180+
# from https://docs.codecov.com/docs/codecov-uploader#integrity-checking-the-uploader
181+
- curl https://keybase.io/codecovsecurity/pgp_keys.asc |
182+
gpg --no-default-keyring --keyring trustedkeys.gpg --import # One-time step
183+
- curl -Os https://uploader.codecov.io/latest/linux/codecov
184+
- curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
185+
- curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig
186+
- gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
187+
- shasum -a 256 -c codecov.SHA256SUM
188+
- chmod +x codecov
189+
- ./codecov -t ${CODECOV_TOKEN}

0 commit comments

Comments
 (0)