Skip to content

Commit 253caec

Browse files
committed
evil inc
1 parent 904a9cc commit 253caec

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ cache:
1515
before_install:
1616
# disable XDEBUG unless specified to be used
1717
- sh -c 'if [ "${WITH_XDEBUG}" = "false" ]; then phpenv config-rm xdebug.ini && echo "xdebug disabled" || exit 0; fi'
18-
- wget https://curl.haxx.se/ca/cacert.pem -O /tmp/cacert.pem
19-
- echo "curl.cainfo=/tmp/cacert.pem" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
2018

2119
install:
2220
- composer update
@@ -63,6 +61,7 @@ notifications:
6361

6462
env:
6563
global:
64+
- BLOCKTRAIL_SDK_NO_SSL_VERIFY=1
6665
- BLOCKTRAIL_SDK_THROTTLE_BTCCOM=0.01
6766
- secure: d4a4n3bdFO/TZGBnEO0zOarL7kTkh4WyH6U+sEQoqe7Wbs1OIN014JXqYZZn2TDQ8kKjxKGi63TiDvh2wvKF+B7dlOo3/WvqNOEA48eVmRI3/LQsAAcmUNIK6YnBN2YgIy0kl8ycDvx0W7hK/A6FFmbnGTJnG6vnQ5NmBe1G3ug=
6867
- secure: ndOLTmYQgNKnr4qXt9/1TjYUDuGFn7K/v5L4urwIAxwD1jJYLHpntvhjTehQq34VX2uIQeDn0Zd4qyorpJxTI5Pmow51j5ZmtA0lS8TaFTwfWc+GZIG7UT3vcoHC5U0o54KJAlumSSncTMttPPfYsD7+8+8KYEjrOlXg6djq5fI=

src/Connection/RestClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ protected function createGuzzleClient(array $options = [], array $curlOptions =
7979
'http_errors' => false,
8080
'connect_timeout' => 3,
8181
'timeout' => 20.0, // tmp until we have a good matrix of all the requests and their expect min/max time
82-
'verify' => true,
82+
'verify' => \getenv('BLOCKTRAIL_SDK_NO_SSL_VERIFY') ? false : true,
8383
'proxy' => '',
8484
'debug' => false,
8585
'config' => array(),

0 commit comments

Comments
 (0)