language: php

sudo: false

php:
  - 5.4
  - 5.5

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

script:
  - ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml 
  - ./vendor/bin/phpcs --standard=PSR2 ./src/ ./test/
  
after_script:
  - php vendor/bin/coveralls -v

notifications:
  irc: "irc.freenode.org#zftalk.modules"
  email: false

language: php

sudo: false

php:
  - 5.4
  - 5.5

before_script:
  - composer self-update

install:
  - composer install --prefer-source

script:
  - ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml 
  - ./vendor/bin/phpcs --standard=PSR2 ./src/ ./test/
  
after_script:
  - php vendor/bin/coveralls -v

notifications:
  irc: "irc.freenode.org#zftalk.modules"
  email: false

Move composer install to install section
Fix: Move composer install to install section
