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 8
8
- 5.6
9
9
- hhvm
10
10
11
- matrix :
12
- allow_failures :
13
- - php : hhvm
14
-
15
11
before_script :
16
- - composer install --dev --prefer-source
12
+ - travis_retry composer self-update
13
+ - travis_retry composer install --no-interaction --prefer-source --dev
17
14
18
15
script :
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()
46
46
*/
47
47
public function shouldCreateReleaseAsset ()
48
48
{
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
+
49
55
$ name = 'asset.gzip ' ;
50
56
$ body = 'assetCreatedData ' ;
51
57
$ contentType = 'application/gzip ' ;
You can’t perform that action at this time.
0 commit comments