File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11language : php
22
33php :
4+ # Can't test against 5.2; openssl is not available:
5+ # http://docs.travis-ci.com/user/languages/php/#PHP-installation
6+ - 5.3
7+ - 5.4
48 - 5.5
59
6- before_script :
7- - curl -s http://getcomposer.org/installer | php
8- - php composer.phar install
10+ before_script :
11+ - composer install
912
1013script :
1114 - cd tests ; phpunit .
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ public function __construct() {
2525 }
2626
2727 public function testPageSpeed () {
28+ $ this ->checkToken ();
2829 $ psapi = $ this ->service ->pagespeedapi ;
2930 $ result = $ psapi ->runpagespeed ('http://code.google.com ' );
3031 $ this ->assertArrayHasKey ('kind ' , $ result );
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ public function __construct() {
3535 }
3636
3737 public function testGetPerson () {
38+ $ this ->checkToken ();
3839 $ person = $ this ->plus ->people ->get ("118051310819094153327 " );
3940 $ this ->assertArrayHasKey ('kind ' , $ person );
4041 $ this ->assertArrayHasKey ('displayName ' , $ person );
@@ -43,6 +44,7 @@ public function testGetPerson() {
4344 }
4445
4546 public function testListActivities () {
47+ $ this ->checkToken ();
4648 $ activities = $ this ->plus ->activities
4749 ->listActivities ("118051310819094153327 " , "public " );
4850
You can’t perform that action at this time.
0 commit comments