Skip to content

Commit

Permalink
appveyor: workaround #8, run tests up to 3 times, ignoring sporadic f…
Browse files Browse the repository at this point in the history
…ails
  • Loading branch information
steffengy committed Jul 30, 2016
1 parent c17708f commit 01a089e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ build_script:
- if "%TARGET%" == "x86_64-pc-windows-msvc" ( cargo doc --no-deps )
- echo build
test_script:
- cargo test
# TODO remove this loop when server 2016 lands on appveyor; related to https://github.com/steffengy/schannel-rs/issues/8
- ps: for($i=1; $i -le 3; $i++) { cmd /c "cargo test 2>&1"; if ($?) { break } }
deploy_script:
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):[email protected]`n"
- set deploy=1
Expand Down

0 comments on commit 01a089e

Please sign in to comment.