File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -124,11 +124,21 @@ else
124
124
125
125
# Disable coverage on 3.8 until we run 3.8 on Windows CI too
126
126
# https://github.com/python-trio/trio/pull/784#issuecomment-446438407
127
- if [[ " $( python -V) " != Python\ 3.8* ]]; then
128
- # Disable coverage on pypy py3.6 nightly for now:
129
- # https://bitbucket.org/pypy/pypy/issues/2943/
130
- if [ " $PYPY_NIGHTLY_BRANCH " != " py3.6" ]; then
131
- bash <( curl -s https://codecov.io/bash) -n " ${CODECOV_NAME} "
127
+ if [[ " $( python -V) " = Python\ 3.8* ]]; then
128
+ true ;
129
+ # coverage is broken in pypy3 7.1.1, but is fixed in nightly and should be
130
+ # fixed in the next release after 7.1.1.
131
+ # See: https://bitbucket.org/pypy/pypy/issues/2943/
132
+ elif [[ " $TRAVIS_PYTHON_VERSION " = " pypy3" ]]; then
133
+ true ;
134
+ else
135
+ # Flag pypy and cpython coverage differently, until it settles down...
136
+ FLAG=" cpython"
137
+ if [[ " $PYPY_NIGHTLY_BRANCH " == " py3.6" ]]; then
138
+ FLAG=" pypy36nightly"
139
+ elif [[ " $( python -V) " == * PyPy* ]]; then
140
+ FLAG=" pypy36release"
132
141
fi
142
+ bash <( curl -s https://codecov.io/bash) -n " ${CODECOV_NAME} " -F " $FLAG "
133
143
fi
134
144
fi
You can’t perform that action at this time.
0 commit comments