language: php

php:
  - 5.4
  - 5.5

before_script:
  - curl -s http://getcomposer.org/installer | php
  - php composer.phar install --dev

script:
  - vendor/bin/phpunit --coverage-text

after_script:
  - vendor/bin/phpcs -v --report=summary --standard=PSR1,PSR2 src tests
  - vendor/bin/phpmd src text codesize,unusedcode,design
  - vendor/bin/phpmd tests text codesize,unusedcode,design
  - vendor/bin/coveralls

language: php

php:
  - 5.4
  - 5.5

before_script:
  - curl -s http://getcomposer.org/installer | php
  - php composer.phar install --dev

script:
  - vendor/bin/phpunit --coverage-text

after_script:
  - vendor/bin/coveralls
  - vendor/bin/phpcs -v --report=summary --standard=PSR1,PSR2 src tests
  - vendor/bin/phpmd src text codesize,unusedcode,design
  - vendor/bin/phpmd tests text codesize,unusedcode,design


Change coveralls to run first
Change coveralls to run first
