language: php

php:
  - 5.6

before_script:
  - composer install

script:
  - vendor/bin/phpcs --standard=phpcs.xml
  - vendor/bin/phpmd src text phpmd.xml
  - vendor/bin/phpunit --configuration phpunit.xml.dist --coverage-clover=coverage.clover --coverage-text

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
language: php

php:
  - 5.6

before_script:
  - travis_retry composer self-update
  - travis_retry composer install --no-interaction

script:
  - vendor/bin/phpcs --standard=phpcs.xml
  - vendor/bin/phpmd src text phpmd.xml
  - vendor/bin/phpunit --configuration phpunit.xml.dist

Improve composer initialization and remove scrutinizer bits
Improve composer initialization and remove scrutinizer bits
