language: php
php:
  - "5.4"
  - "5.5"
  
before_script:
  - sudo /home/travis/.phpenv/versions/5.5.0beta1/bin/composer.phar self-update
  - chmod 777 ./tests/bin/setup.sh
  - ./tests/bin/setup.sh
  - composer install --prefer-source --no-interaction 

script: phpunit --configuration ./tests/phpunit.xml
language: php
php:
  - "5.4"
  - "5.5"
  
before_script:
  - echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
  - chmod 777 ./tests/bin/setup.sh
  - ./tests/bin/setup.sh
  - composer install --prefer-source --no-interaction 

script: phpunit --configuration ./tests/phpunit.xml
Revert "Force composer to self-update before tests."
Revert "Force composer to self-update before tests."

This reverts commit d56ff29d9690c4ba4cc5f3ba1d5782266ee7ecc8.
