Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Commit

Permalink
Merge pull request #32 from azettl/master
Browse files Browse the repository at this point in the history
fix curl ssl issue on windows
  • Loading branch information
machadoit authored Aug 9, 2017
2 parents 194b838 + 16a577c commit c0fc157
Show file tree
Hide file tree
Showing 2 changed files with 3,956 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Codacy/Coverage/Util/CodacyApiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public function sendCoverage($commit, $data)
"project_token: " . $this->projectToken
)
);
curl_setopt($curl, CURLOPT_CAINFO, dirname(__FILE__) . '/cacert.pem');
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);

Expand Down
Loading

0 comments on commit c0fc157

Please sign in to comment.