diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 000000000..06a569d33 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,8 @@ +version: 1.x-{build} +build: false +clone_depth: 2 +clone_folder: c:\projects\sentry-php +skip_branch_with_pr: true +branches: + only: + - master diff --git a/lib/Raven/Client.php b/lib/Raven/Client.php index 522d9d490..502eadb2b 100644 --- a/lib/Raven/Client.php +++ b/lib/Raven/Client.php @@ -1101,6 +1101,9 @@ protected function get_curl_options() if ($this->curl_ssl_version) { $options[CURLOPT_SSLVERSION] = $this->curl_ssl_version; } + if ($this->verify_ssl === false) { + $options[CURLOPT_SSL_VERIFYHOST] = 0; + } if ($this->curl_ipv4) { $options[CURLOPT_IPRESOLVE] = CURL_IPRESOLVE_V4; }