Skip to content
No description, website, or topics provided.
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Travis Enhancement: CS Aug 8, 2013
tests/Travis/Test Bugfix/Update: API URL Aug 8, 2013
.gitignore updated dep Jul 1, 2014
.travis.yml add hhvm to .travis.yml Apr 6, 2014
LICENSE initial commit Mar 7, 2012 Update readme Jul 30, 2015
composer.json updated dep Jul 1, 2014
composer.lock Improvement: update composer Aug 8, 2013
phpunit.xml.dist Improvement: update composer Aug 8, 2013

PHP Travis Client

It is simple PHP implementation of client using travisci api.

Build Status


Download repository then download composer using wget -nc

So install command will look like php composer.phar install


Just look at tests :P . Basic example:


require __DIR__ . '/vendor/autoload.php';

$client = new Travis\Client();

$repository = $client->fetchRepository('l3l0/OpenSocialBundle');

echo $repository->getId() . "\n";
echo $repository->getSlug() . "\n";
echo $repository->getLastBuild()->getId() . "\n";
echo $repository->getBuilds()->findOneBy(array('number' => 2))->getId() . "\n";

echo 'Builds:' . "\n";
foreach ($repository->getBuilds() as $build) {
    echo "\t" . $build->getId() . "\n";
You can’t perform that action at this time.