dev-master
9999999-dev http://github.com/l3l0/php-travis-clientPHP implementation for travis API
MIT
The Requires
- php >=5.3.0
- kriswallsmith/buzz ~0.5
- doctrine/common ~2.2
test ci travis
 Wallogit.com
                    
                    2017 © Pedro Peláez
                         Wallogit.com
                    
                    2017 © Pedro Peláez
                    
                    
                    
                    
                
                
            
PHP implementation for travis API
It is simple PHP implementation of client using travisci api., (*1)
Download repository then download composer
using wget -nc http://getcomposer.org/composer.phar, (*3)
So install command will look like php composer.phar install, (*4)
Just look at tests :P . Basic example:, (*5)
<?php
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";
}
        PHP implementation for travis API
MIT
test ci travis