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,16 +244,21 @@ class VideoDownloadTest extends TestCase
|
||||||
*/
|
*/
|
||||||
public function m3uUrlProvider()
|
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',
|
'https://twitter.com/verge/status/813055465324056576/video/1', 'hls-2176',
|
||||||
'The_Verge_-_This_tiny_origami_robot_can_self-fold_and_complete_tasks-813055465324056576',
|
'The_Verge_-_This_tiny_origami_robot_can_self-fold_and_complete_tasks-813055465324056576',
|
||||||
'mp4',
|
'mp4',
|
||||||
'video.twimg.com',
|
'video.twimg.com',
|
||||||
],
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $videos;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides RTMP URLs for tests.
|
* Provides RTMP URLs for tests.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue