Skip to content

Commit

Permalink
Use codecov-python
Browse files Browse the repository at this point in the history
Currently codecov-bash is used, which involves an uncached fetch
of a unversioned bash script.

Using codecov-python allows the tool to be cached, and greater
reliability due to versioned releases of the tool.

In addition, codecov-bash does not work on Windows, and our
developer base is better tuned to investigate any python
related problems.

Fixes coala/coala#3718
Related to coala#1415
  • Loading branch information
jayvdb committed May 26, 2017
1 parent b2d8fa9 commit cfa562f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
9 changes: 9 additions & 0 deletions .ci/appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,12 @@ test_script:
# https://github.com/appveyor/ci/issues/688
- "%CMD_IN_ENV% python -m pytest --cov -k \"not ClangASTPrintBear and not ClangCloneDetectionBear and not ClangComplexityBear and not ClangCountVectorCreator and not ClangCountingConditions\""
- "%CMD_IN_ENV% python setup.py install"

on_success:
- codecov

on_failure:
- codecov

matrix:
fast_finish: true
6 changes: 0 additions & 6 deletions .ci/deploy.coverage.sh

This file was deleted.

2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ script:
mv .coafile.new .coafile
fi
- coala --non-interactive
- bash .ci/deploy.coverage.sh
- codecov
- rm -rf docs/API && make -C docs clean
- python setup.py docs

Expand Down
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ test:
parallel: true
- coala-ci -L DEBUG:
parallel: true
- bash .ci/deploy.coverage.sh:
- codecov:
parallel: true
- rm -rf docs/API && make -C docs clean
- python setup.py docs:
Expand Down
1 change: 1 addition & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
coverage~=4.2.0
codecov~=2.0.5
pytest~=3.0
pytest-cov~=2.4
pytest-env~=0.6.0
Expand Down

0 comments on commit cfa562f

Please sign in to comment.