Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 59 lines (56 sloc) 1.908 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
<?php

require_once "Sauce/Sausage/SauceAPI.php";

$s = new Sauce\Sausage\SauceAPI(getenv('SAUCE_USERNAME'), getenv('SAUCE_ACCESS_KEY'));

$res = $s->updateJob('0e2ae11933664d0ba26948d379fc67a6', array('passed'=>TRUE));
print_r($res);
//$res = $s->getAccountDetails();
//print_r($res);
//$res = $s->getAccountLimits();
//print_r($res);
//$res = $s->createSubaccount(array('username'=>'jlippstest', 'email'=>'jlipps2@adsf.com', 'password'=>'testpass', 'name'=>"New Guy"));
//print_r($res);
//$res = $s->setSubaccountSubscription('sah', 'free');
//print_r($res);
//$res = $s->login('testpass', 'jlippstest');
//print_r($res);
//$res = $s->getUsage(null, null, 'jlippstest');
//print_r($res);
//$res = $s->getUsage('2012-03-01', '2012-05-01');
//print_r($res);
//$res = $s->deleteSubaccountSubscription('jlippstest');
//print_r($res);
//$res = $s->getAllBrowsers();
//print_r($res);
//$res = $s->getSeleniumRCBrowsers();
//print_r($res);
//$res = $s->getWebDriverBrowsers();
//print_r($res);
//$res = $s->getStatus();
//print_r($res);
//$res = $s->getSauceTestsCount();
//print_r($res);
//$res = $s->getScoutBrowsers();
//print_r($res);
//$res = $s->getScoutBrowsers(true);
//print_r($res);
//$res = $s->getJobs(null, null, 1);
//print_r($res);
//$res = $s->updateJob('0213180a592449948a0f46b3b2c23cdb', array('build'=>'1234'));
//$res = $s->getJobsForBuild('1234');
//print_r($res);
//$res = $s->getActivity();
//print_r($res);
//$res = $s->getUpdatedJobs(0);
//print_r($res);
//$res = $s->getJob('0e2ae11933664d0ba26948d379fc67a6');
//print_r($res);
//$res = $s->stopJob('0e2ae11933664d0ba26948d379fc67a6');
//print_r($res);
//$res = $s->createErrorReport("This is an error report, woot!");
//print_r($res);
//$res = $s->getTunnels();
//print_r($res);
//$res = $s->getTunnel('00af7b9575f6405b82176d983ac6aa94');
//print_r($res);
//$res = $s->deleteTunnel('00af7b9575f6405b82176d983ac6aa94');
//print_r($res);
Something went wrong with that request. Please try again.