Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test enhancement #3

Merged
merged 1 commit into from
Sep 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
language: php
dist: trusty
php:
- '5.6'
- '7.0'
- '7.1'
- '7.2'
- nightly
- 'hhvm'
matrix:
allow_failures:
- php: nightly
install:
- composer update
- composer install
script:
- ./vendor/bin/phpunit --coverage-clover ./tests/Logs/clover.xml
after_script:
- php vendor/bin/php-coveralls -v
- php vendor/bin/php-coveralls -v
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,19 @@
"php": ">=5.6"
},
"require-dev": {
"phpunit/phpunit": "^5.7",
"phpunit/phpunit": "^6.5",
"php-coveralls/php-coveralls": "^2.1"
},
"autoload": {
"psr-4": {
"DivineOmega\\DOFileCache\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DivineOmega\\DOFileCache\\Tests\\": "tests/"
}
},
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
Expand Down
4 changes: 2 additions & 2 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
</whitelist>
</filter>
<php>

</php>
</phpunit>
</phpunit>
2 changes: 2 additions & 0 deletions tests/Functional/CacheStorageAndRetrievalTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

namespace DivineOmega\DOFileCache\Tests;

use PHPUnit\Framework\TestCase;

final class CacheStorageAndRetrievalTest extends TestCase
Expand Down
4 changes: 3 additions & 1 deletion tests/Unit/BasicTest.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<?php

namespace DivineOmega\DOFileCache\Tests;

use PHPUnit\Framework\TestCase;

final class BasicTests extends TestCase
final class BasicTest extends TestCase
{
private $cache = null;

Expand Down