Started to set up tests, added configs
This commit is contained in:
parent
d22145c379
commit
c3fe6e8e59
3 changed files with 60 additions and 0 deletions
1
.coveralls.yml
Normal file
1
.coveralls.yml
Normal file
|
@ -0,0 +1 @@
|
|||
service_name: travis-ci
|
26
.travis.yml
Normal file
26
.travis.yml
Normal 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
|
33
tests/GooglePlacesTest.php
Normal file
33
tests/GooglePlacesTest.php
Normal 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()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue