Skip to content

Commit

Permalink
Cirrus: Fix Python 2.7
Browse files Browse the repository at this point in the history
Closes #34
  • Loading branch information
jayvdb committed Mar 8, 2020
1 parent 2a94e1c commit c45f706
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ Linux_task:
- mv https-everywhere ..
script:
- python --version
- PY=$(python3 -c 'import sys; print("%d%d" % (sys.version_info[0], sys.version_info[1]))')
- PY=$(python -c 'import sys; print("%d%d" % (sys.version_info[0], sys.version_info[1]))')
- if [[ $PY == 27 ]]; then export COV_FAIL_UNDER=60; fi
- if [[ $PY == 34 ]]; then export COV_FAIL_UNDER=65; fi
- python -m tox -e py$PY
- bash <(curl -s https://codecov.io/bash)
Expand Down

0 comments on commit c45f706

Please sign in to comment.