Skip to content

Commit 0d48370

Browse files
committed
Upload coverage data right after tests finish.
1 parent d37c152 commit 0d48370

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,11 @@ script:
3030

3131
after_success:
3232
- ls wheelhouse/
33-
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then bash <(curl -s https://codecov.io/bash); fi
3433

3534
deploy:
3635
provider: script
3736
skip_cleanup: true
38-
script: scripts/deploy.sh
37+
script: ci/deploy.sh
3938
on:
4039
tags: true
4140
repo: whtsky/bencoder.pyx

appveyor.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,14 @@ build: off
1818
test_script:
1919
- tox
2020

21-
on_success:
21+
after_test:
2222
- pip install codecov
2323
- codecov
2424
- del bencoder.c
2525
- tox -c tox-wheels.ini
2626

2727
deploy_script:
28+
- ps: "ls wheelhouse/*"
2829
- echo [distutils] > %USERPROFILE%\\.pypirc
2930
- echo index-servers = >> %USERPROFILE%\\.pypirc
3031
- echo pypi >> %USERPROFILE%\\.pypirc
@@ -33,8 +34,7 @@ deploy_script:
3334
- echo password=%password% >> %USERPROFILE%\\.pypirc
3435
- set HOME=%USERPROFILE%
3536
- pip install twine
36-
- ps: if($env:APPVEYOR_REPO_TAG -eq $TRUE) { "twine upload wheelhouse/bencoder*.whl" }
37-
37+
- ps: if($env:APPVEYOR_REPO_TAG -eq $TRUE) { "twine upload wheelhouse/*.whl" }
3838

3939
artifacts:
40-
- path: wheelhouse/bencoder*.whl
40+
- path: wheelhouse/*.whl

ci/travis_osx_script.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
python setup.py test
2+
bash <(curl -s https://codecov.io/bash)
23
rm bencoder.c
34
pip wheel . -w wheelhouse/

0 commit comments

Comments
 (0)