language: php

before_script:
    - composer install --dev

php:
  - 5.4
  - 5.5
  - 5.6

language: php

before_script:
    - composer self-update
    - composer install

php:
  - 5.4
  - 5.5
  - 5.6

Add `composer self-update` to before_script
Travis: Add `composer self-update` to before_script
