check if `/home/travis` exists

rather than using getenv('TRAVIS').  It appears that pyrus clears out the environment when it runs .phpt tests.