Create test skeleton with PHPUnit and Travis-CI
This commit is contained in:
parent
b37f971fd7
commit
15df1e0e0d
|
@ -0,0 +1,9 @@
|
|||
language: php
|
||||
|
||||
php:
|
||||
- 5.3
|
||||
- 5.4
|
||||
|
||||
before_script:
|
||||
- wget -c http://getcomposer.org/composer.phar
|
||||
- php composer.phar install
|
|
@ -10,5 +10,8 @@
|
|||
"psr-0": {
|
||||
"Eher\\OAuth": "src"
|
||||
}
|
||||
},
|
||||
"require-dev": {
|
||||
"eher/phpunit": "1.6"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
<phpunit bootstrap="vendor/autoload.php" colors="true">
|
||||
<testsuites>
|
||||
<testsuite name="Test Suite">
|
||||
<directory>test</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
</phpunit>
|
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Eher\OAuth;
|
||||
|
||||
class RequestTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function testRequest()
|
||||
{
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue