sudo: required
language: php
php:
  - 5.5
  - 5.4
script: phpunit
before_install:
  sudo pip install codecov
after_success:
  codecov

language: php
php:
  - 5.5
  - 5.4
script: phpunit
after_success:
  - bash <(curl -s https://codecov.io/bash)

Update Travis with PHP specific instructions for Codecov
Update Travis with PHP specific instructions for Codecov