Create test skeleton with PHPUnit and Travis-CI

This commit is contained in:
Eher 2012-12-02 21:40:34 -02:00
parent b37f971fd7
commit 15df1e0e0d
4 changed files with 29 additions and 0 deletions

9
.travis.yml Normal file
View File

@ -0,0 +1,9 @@
language: php
php:
- 5.3
- 5.4
before_script:
- wget -c http://getcomposer.org/composer.phar
- php composer.phar install

View File

@ -10,5 +10,8 @@
"psr-0": {
"Eher\\OAuth": "src"
}
},
"require-dev": {
"eher/phpunit": "1.6"
}
}

7
phpunit.xml.dist Normal file
View File

@ -0,0 +1,7 @@
<phpunit bootstrap="vendor/autoload.php" colors="true">
<testsuites>
<testsuite name="Test Suite">
<directory>test</directory>
</testsuite>
</testsuites>
</phpunit>

View File

@ -0,0 +1,10 @@
<?php
namespace Eher\OAuth;
class RequestTest extends \PHPUnit_Framework_TestCase
{
public function testRequest()
{
}
}