Skip to content

Commit

Permalink
Fixing travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
mtdowling committed Oct 14, 2014
1 parent 41728cc commit 432d49b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -7,6 +7,8 @@ php:
- hhvm

before_script:
- export AWS_ACCESS_KEY_ID=foo
- export AWS_SECRET_ACCESS_KEY=bar
- composer self-update
- composer install --no-interaction --prefer-source

Expand Down
15 changes: 0 additions & 15 deletions tests/Common/ClientFactoryTest.php
Expand Up @@ -266,21 +266,6 @@ public function testCanDisableRetries()
$this->assertCount(0, $c->getHttpClient()->getEmitter()->listeners('error'));
}

/**
* @expectedException \RuntimeException
* @expectedExceptionMessage Invalid AWS credentials profile "profile_
*/
public function testCanCreateCredentialsWithProfileName()
{
$f = new ClientFactory();
$f->create([
'service' => 'sqs',
'region' => 'x',
'profile' => uniqid('profile_'),
'version' => 'latest'
]);
}

public function testCanCreateNullCredentials()
{
$f = new ClientFactory();
Expand Down

0 comments on commit 432d49b

Please sign in to comment.