Skip to content

Commit

Permalink
Setup to use new TravisCI infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
postalservice14 committed Oct 6, 2015
1 parent 15a6c55 commit 1d9d497
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ php:
- hhvm
- hhvm-nightly

# This triggers builds to run on the new TravisCI infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false

matrix:
fast_finish: true
allow_failures:
Expand All @@ -21,9 +25,6 @@ matrix:
before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
- sudo rabbitmqctl add_vhost "phpamqplib_testbed"
- sudo rabbitmqctl add_user phpamqplib phpamqplib_password
- sudo rabbitmqctl set_permissions -p "phpamqplib_testbed" phpamqplib ".*" ".*" ".*"

script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
Expand Down
6 changes: 3 additions & 3 deletions tests/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

define('HOST', 'localhost');
define('PORT', 5672);
define('USER', 'phpamqplib');
define('PASS', 'phpamqplib_password');
define('VHOST', 'phpamqplib_testbed');
define('USER', 'guest');
define('PASS', 'guest');
define('VHOST', '/');
define('AMQP_DEBUG', false);

0 comments on commit 1d9d497

Please sign in to comment.