Skip to content

Commit

Permalink
Merge pull request python-trio#1232 from njsmith/make-curl-verbose
Browse files Browse the repository at this point in the history
Set --connect-timeout when running curl, to make --retry work, and hopefully fix python-trio#1231
  • Loading branch information
oremanj authored Oct 4, 2019
2 parents a427c5c + fa590a3 commit 1a09cf9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ else
# bash <(curl ...)
# but azure is broken:
# https://developercommunity.visualstudio.com/content/problem/743824/bash-task-on-windows-suddenly-fails-with-bash-devf.html
curl --retry 5 -o codecov.sh https://codecov.io/bash
# Also we have to set --connect-timeout to work around:
# https://github.com/curl/curl/issues/4461
curl --connect-timeout 5 --retry 5 -o codecov.sh https://codecov.io/bash
bash codecov.sh -n "${CODECOV_NAME}" -F "$FLAG"
fi
fi

0 comments on commit 1a09cf9

Please sign in to comment.