language:
  php

php:
  - 5.4
  - 5.5
  - 5.6

before_script:
  - pecl install uopz
  - composer install --dev --no-interaction --prefer-source

script:
  - vendor/bin/phpcs --standard=PSR2 src/
  - vendor/bin/phpmd src/ text codesize,controversial,design,naming,unusedcode
  - vendor/bin/phpunit

language:
  php

php:
  - 5.4
  - 5.5
  - 5.6

before_script:
  - pecl install uopz
  - composer self-update
  - composer install --no-interaction --prefer-source

script:
  - vendor/bin/phpcs --standard=PSR2 src/
  - vendor/bin/phpmd src/ text codesize,controversial,design,naming,unusedcode
  - vendor/bin/phpunit

Update composer's call on Travis builds
Update composer's call on Travis builds

Update composer before run it and also remove `--dev` options since it's
no longer necessary.
