sudo: false

language: php

php:
    - 5.5
    - 5.6
    - hhvm

before_install:
    - pip install codecov

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

script:
    - vendor/bin/phpcs --standard=psr2 ./src
    - vendor/bin/phpunit --coverage-text --bootstrap vendor/autoload.php --coverage-clover=coverage.xml

after_success:
    - if [[ $TRAVIS_PHP_VERSION != "hhvm" ]]; then codecov; fi

sudo: false

language: php

php:
    - 5.5
    - 5.6
    - hhvm

before_install:
    - pip install --user codecov

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

script:
    - vendor/bin/phpcs --standard=psr2 ./src
    - vendor/bin/phpunit --coverage-text --bootstrap vendor/autoload.php --coverage-clover=coverage.xml

after_success:
    - if [[ $TRAVIS_PHP_VERSION != "hhvm" ]]; then codecov; fi

Install codecov under codecov user
Install codecov under codecov user
