Skip to content

Commit 07e3dcb

Browse files
committed
fix bundle tests
1 parent 0573687 commit 07e3dcb

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

pkg/enqueue-bundle/.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ cache:
1414
- $HOME/.composer/cache
1515

1616
install:
17+
- php Tests/fix_composer_json.php
1718
- composer self-update
1819
- composer install --prefer-source
1920

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
3+
copy(__DIR__.'/../composer.json', __DIR__.'/../composer.json.bak');
4+
5+
$composerJson = json_decode(file_get_contents(__DIR__.'/../composer.json'), true);
6+
7+
$composerJson['config']['platform']['ext-amqp'] = '1.7';
8+
9+
file_put_contents(__DIR__.'/../composer.json', json_encode($composerJson, JSON_PRETTY_PRINT));

0 commit comments

Comments
 (0)