language: php

php:
  - 5.4
  - 5.5

before_script:
  - composer install
  - pear install --alldeps PHP_CodeSniffer
  - phpenv rehash
  - git clone git://github.com/opensky/Symfony2-coding-standard.git $(pear config-get php_dir)/PHP/CodeSniffer/Standards/Symfony2
  - phpcs --standard=Symfony2 --ignore=/vendor ./

script: phpunit

notifications:
  email:
    - genvaldartem@gmail.com

language: php

php:
  - 5.4
  - 5.5
  - 5.6

before_script:
  - composer install
  - pear install --alldeps PHP_CodeSniffer
  - phpenv rehash
  - git clone git://github.com/opensky/Symfony2-coding-standard.git $(pear config-get php_dir)/PHP/CodeSniffer/Standards/Symfony2
  - phpcs --standard=Symfony2 --ignore=/vendor ./

script: phpunit

notifications:
  email:
    - genvaldartem@gmail.com

Add PHP version 5.6 to Travis config
Add PHP version 5.6 to Travis config