ci(travis): Disable Twitter test on CI
This commit is contained in:
parent
07261db27b
commit
12747ade59
1 changed files with 9 additions and 4 deletions
|
@ -244,14 +244,19 @@ class VideoDownloadTest extends TestCase
|
|||
*/
|
||||
public function m3uUrlProvider()
|
||||
{
|
||||
return [
|
||||
[
|
||||
$videos = [];
|
||||
|
||||
if (!getenv('CI')) {
|
||||
// Twitter returns a 429 error when the test is ran too many times.
|
||||
$videos[] = [
|
||||
'https://twitter.com/verge/status/813055465324056576/video/1', 'hls-2176',
|
||||
'The_Verge_-_This_tiny_origami_robot_can_self-fold_and_complete_tasks-813055465324056576',
|
||||
'mp4',
|
||||
'video.twimg.com',
|
||||
],
|
||||
];
|
||||
];
|
||||
}
|
||||
|
||||
return $videos;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue