language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - hhvm

before_script:
  - composer self-update
  - composer install --dev --prefer-source

script:
  - composer test

language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - hhvm

before_install:
  - composer self-update

before_script:
  - composer install --dev --prefer-source

script:
  - composer test

Update composer itself in the before_install section
Fix: Update composer itself in the before_install section
