Skip to content

Commit

Permalink
Maybe improving upstream is worth the effort?
Browse files Browse the repository at this point in the history
  • Loading branch information
xolox committed Oct 31, 2015
1 parent e961961 commit 9b4d018
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ environment:
COVERALLS_REPO_TOKEN:
secure: DCxZQaYFWVR0zWqjTPXhhlRlLdmKNMS2qDUwIR8jRar13clunOqJIaXn+vKInS7g
install:
- cmd: '"%PYTHON%\Scripts\pip.exe" install coveralls .'
- cmd: '"%PYTHON%\Scripts\pip.exe" install . https://github.com/xolox/coveralls-python/archive/master.zip'
build: off
test_script:
- cmd: '"%PYTHON%\Scripts\coverage.exe" run setup.py test'
on_success:
- cmd: '"%PYTHON%\python.exe" "scripts\appveyor-coverage.py" "%PYTHON%\Scripts\coveralls.exe"'
- cmd: '"%PYTHON%\Scripts\coveralls.exe"'
3 changes: 3 additions & 0 deletions scripts/appveyor-coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,11 @@ def fix_branch_name():
``$CI_BRANCH`` environment variable can be used to change the branch name
that's reported to Coveralls.
This hack was confirmed to work in `build 1.0.57`_.
.. _environment variables: http://www.appveyor.com/docs/environment-variables
.. _the source code: https://github.com/coagulant/coveralls-python/blob/master/coveralls/api.py
.. _build 1.0.57: https://ci.appveyor.com/project/xolox/pip-accel/build/1.0.57
"""
logger.debug("Existing environment variables (sanitized): %s", dump_environment())
if os.environ.get('APPVEYOR_REPO_BRANCH') == 'master' and os.environ.get('CI_BRANCH') != 'master':
Expand Down

1 comment on commit 9b4d018

@xolox
Copy link
Member Author

@xolox xolox commented on 9b4d018 Oct 31, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a retroactive link to #61 :-)

Please sign in to comment.