File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 8
8
9
9
sudo : false
10
10
11
+ matrix :
12
+ allow_failures :
13
+ - php : hhvm
14
+
11
15
install : travis_retry composer install --no-interaction --prefer-source
12
16
13
17
script : vendor/bin/phpunit
Original file line number Diff line number Diff line change 16
16
| http://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/configuration.html
17
17
|
18
18
*/
19
- 'credentials ' => [
20
- 'key ' => env ('AWS_ACCESS_KEY_ID ' ),
21
- 'secret ' => env ('AWS_SECRET_ACCESS_KEY ' ),
22
- ],
19
+
23
20
'region ' => env ('AWS_REGION ' , 'us-east-1 ' ),
24
21
'version ' => 'latest ' ,
25
22
'ua_append ' => [
Original file line number Diff line number Diff line change @@ -41,7 +41,8 @@ public function boot()
41
41
public function register ()
42
42
{
43
43
$ this ->app ->singleton ('aws ' , function ($ app ) {
44
- return new Sdk ($ app ['config ' ]->get ('aws ' ));
44
+ $ config = $ app ['config ' ]->get ('aws ' );
45
+ return new Sdk ($ config );
45
46
});
46
47
47
48
$ this ->app ->alias ('aws ' , 'Aws\Sdk ' );
You can’t perform that action at this time.
0 commit comments