#!/bin/bash
if [[ "$TRAVIS_PHP_VERSION" != "hhvm" \
  && "$TRAVIS_PHP_VERSION" != "hhvm-nightly" \
  && "$TRAVIS_PHP_VERSION" != "5.3.3" ]]; then
  phpenv config-add ./travis/extra.ini
  phpenv rehash
fi

if [[ "$TRAVIS_PHP_VERSION" == "5.3.3" ]]; then
  php --version
fi
#!/bin/bash
if [[ "$TRAVIS_PHP_VERSION" != "hhvm" \
  && "$TRAVIS_PHP_VERSION" != "hhvm-nightly" \
  && "$TRAVIS_PHP_VERSION" != "5.3.3" ]]; then
  phpenv config-add ./travis/extra.ini
  phpenv rehash
fi

if [[ "$TRAVIS_PHP_VERSION" == "5.3.3" ]]; then
  php --version
fi

if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then
  sed '/MockeryPHPUnitIntegration/d' -i ./phpunit.xml.dist
fi
Add trait excluded from code coverage back for PHP 5.6 Uses sed to delete the exclude from phpunit.xml.dist
Add trait excluded from code coverage back for PHP 5.6
Uses sed to delete the exclude from phpunit.xml.dist
