Skip to content

Commit

Permalink
Fix: Use dedicated sections in Travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Mar 27, 2016
1 parent 353e439 commit 5c59d9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Expand Up @@ -6,10 +6,12 @@ php:
- 5.6
- hhvm

before_script:
before_install:
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "extension=amqp.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`; fi;'
- if [[ $TRAVIS_PHP_VERSION != 'hhvm' ]]; then echo "extension = amqp.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;
- curl -s http://getcomposer.org/installer | php

install:
- php composer.phar install

script: bin/phpunit

0 comments on commit 5c59d9a

Please sign in to comment.