Apply better workaround for AppVeyor detection
@@ -5,7 +5,7 @@ envlist = python
usedevelop = True
commands =
pytest {posargs}
- APPVEYOR="$(echo $APPVEYOR | sed 's/true/True/g')" codecov
+ python -c "import codecov, os; os.environ['APPVEYOR'] = os.getenv('APPVEYOR', '').replace('true', 'True'); codecov.main()"
passenv =
WEBTEST_INTERACTIVE
CI
