File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
test/Github/Tests/Api/Repository Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 88 - 5.6
99 - hhvm
1010
11- matrix :
12- allow_failures :
13- - php : hhvm
14-
1511before_script :
16- - composer install --dev --prefer-source
12+ - travis_retry composer self-update
13+ - travis_retry composer install --no-interaction --prefer-source --dev
1714
1815script :
19- - phpunit --coverage-text
16+ - vendor/bin/ phpunit --verbose --coverage-text
Original file line number Diff line number Diff line change @@ -46,6 +46,12 @@ public function shouldGetSingleReleaseAsset()
4646 */
4747 public function shouldCreateReleaseAsset ()
4848 {
49+ if (!defined ('OPENSSL_TLSEXT_SERVER_NAME ' ) || !OPENSSL_TLSEXT_SERVER_NAME ) {
50+ return $ this ->markTestSkipped (
51+ 'Asset upload support requires Server Name Indication. This is not supported be your PHP version. '
52+ );
53+ }
54+
4955 $ name = 'asset.gzip ' ;
5056 $ body = 'assetCreatedData ' ;
5157 $ contentType = 'application/gzip ' ;
You can’t perform that action at this time.
0 commit comments