language: php

php:
  - 5.3.3
  - 5.3
  - 5.4
  - 5.5

before_script:
  - wget http://getcomposer.org/composer.phar
  - php composer.phar --prefer-source --dev install
  - cp phpunit.xml.dist phpunit.xml

script:
  - phpunit

language: php

php:
  - 5.3.3
  - 5.3
  - 5.4
  - 5.5

before_script:
  - composer --prefer-source install
  - cp phpunit.xml.dist phpunit.xml

script:
  - phpunit

Use preinstalled composer on Travis
Use preinstalled composer on Travis