language: php

php:
  - 5.3
  - 5.4
  - 5.5

before_script:
    - composer install

script: ./vendor/bin/phpunit

language: php

php:
  - 5.3
  - 5.4
  - 5.5

before_install: composer selfupdate
install: composer install
script: ./vendor/bin/phpunit

Add composer selfupdate to Travis CI script
Add composer selfupdate to Travis CI script

Also use `before_install` and `install` phases instead of `before_script`.
