language: php
php:
  - 5.6
  - 7.0
  - hhvm

matrix:
  allow_failures:
    - php: hhvm
    - php: 7.0

before_script:
  - composer self-update
  - composer install --prefer-dist --no-interaction
  - composer require --dev squizlabs/php_codesniffer:dev-master
  - composer require --dev satooshi/php-coveralls:dev-master
  - mkdir -p ./build/logs

script:
  - bin/phpcs -p --extensions=php --standard=PSR2,PSR1 ./src
  - bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
- php bin/coveralls -v

notifications:
  email: false

language: php
php:
  - 5.6
  - 7.0
  - hhvm

matrix:
  allow_failures:
    - php: hhvm
    - php: 7.0

before_script:
  - composer self-update
  - composer install --prefer-dist --no-interaction
  - composer require --dev squizlabs/php_codesniffer:dev-master
  - composer require --dev satooshi/php-coveralls:dev-master
  - mkdir -p ./build/logs

script:
  - bin/phpcs -p --extensions=php --standard=PSR2,PSR1 ./src
  - bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
- php bin/coveralls -v
- echo "all" | bin/phing update-components 

notifications:
  email: false

Update all components after pass tests
Update all components after pass tests
