Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Commit

Permalink
Merge pull request #6 from kiler129/unit-tests
Browse files Browse the repository at this point in the history
Merged unit tests into master.
  • Loading branch information
kiler129 committed Jun 4, 2015
2 parents c4a584c + 8482653 commit 9ee21b0
Show file tree
Hide file tree
Showing 5 changed files with 620 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
- nightly

before_script: composer install --dev
script: phpunit --configuration phpunit.xml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Shout!
# Shout! [![Build Status](https://travis-ci.org/kiler129/Shout.svg?branch=master)](https://travis-ci.org/kiler129/Shout)
Small, fast and PSR-3 compliant logging library.
Yes, it was created to blame you for every failure (which may not even be yours).

Expand Down
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
"php": ">=5.3.0",
"psr/log": "~1.0"
},
"require-dev": {
"phpunit/phpunit": "4.6.*",
"mikey179/vfsStream": "~1"
},
"autoload": {
"psr-4": {
"noFlash\\Shout\\": "src"
Expand Down
28 changes: 28 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
backupStaticAttributes="false"

cacheTokens="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
forceCoversAnnotation="false"
mapTestClassNameToCoveredClassName="false"

processIsolation="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"

verbose="true"
bootstrap="./vendor/autoload.php"
>

<testsuites>
<testsuite name="AllTests">
<directory>./tests/</directory>
</testsuite>
</testsuites>
</phpunit>
Loading

0 comments on commit 9ee21b0

Please sign in to comment.