Started to set up tests, added configs

This commit is contained in:
Josh Sherman 2014-05-14 17:35:25 -04:00
parent d22145c379
commit c3fe6e8e59
3 changed files with 60 additions and 0 deletions

1
.coveralls.yml Normal file
View file

@ -0,0 +1 @@
service_name: travis-ci

26
.travis.yml Normal file
View file

@ -0,0 +1,26 @@
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
matrix:
allow_failures:
- php: 5.6
- php: hhvm
install:
- composer install
before_script:
- mkdir -p build/logs
- cd tests
script:
- phpunit --colors --coverage-clover /home/travis/build/joshtronic/php-googleplaces/build/logs/clover.xml .
after_success:
- php ../vendor/bin/coveralls --config ../.coveralls.yml -v

View file

@ -0,0 +1,33 @@
<?php
require_once '../src/GooglePlaces.php';
class GooglePlacesTest extends PHPUnit_Framework_TestCase
{
public function testNearbySearchProximity()
{
}
public function testNearbySearchDistance()
{
}
public function testNearbySearchPagination()
{
}
public function testRadarSearch()
{
}
public function testDetails()
{
}
}
?>