Skip to content

Commit

Permalink
reorganized meta data
Browse files Browse the repository at this point in the history
  • Loading branch information
Griesbacher committed Dec 10, 2015
1 parent c73c4aa commit 7a7cfe7
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 17 deletions.
4 changes: 2 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ dependencies:
override:
- sed -i 's/^;//' ~/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini
- echo "xdebug.max_nesting_level = 250" >> ~/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini
- tar -xzf vendor.tar.gz
- tar -xzf conf/vendor.tar.gz

test:
override:
- phpunit -c phpunit.xml
- phpunit -c conf/phpunit.xml

post:
- php vendor/bin/coveralls
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions conf/phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<phpunit>
<testsuites>
<testsuite name="basic">
<directory>../tests</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-clover" target="../build/logs/clover.xml"/>
<log type="coverage-html" target="../build/logs/cover"/>
</logging>
</phpunit>
File renamed without changes.
11 changes: 0 additions & 11 deletions phpunit.xml

This file was deleted.

6 changes: 3 additions & 3 deletions stylecheck.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
phpcbf --standard=phpcs.xml --no-patch .
phpcs --standard=phpcs.xml .
phpunit -c phpunit.xml
phpcbf --standard=conf/phpcs.xml --no-patch .
phpcs --standard=conf/phpcs.xml .
phpunit -c conf/phpunit.xml
2 changes: 1 addition & 1 deletion test/histou/basicTest.php → tests/histou/basicTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require_once 'histou/basic.php';

class StackTest extends PHPUnit_Framework_TestCase
class BasicTest extends PHPUnit_Framework_TestCase
{
public function testParseIni()
{
Expand Down
11 changes: 11 additions & 0 deletions tests/histou/debugTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

require_once 'histou/debug.php';

class DebugTest extends PHPUnit_Framework_TestCase
{
public function testEnable()
{

}
}

0 comments on commit 7a7cfe7

Please sign in to comment.