Skip to content

Commit

Permalink
Merge pull request #2 from peter279k/test_improvement
Browse files Browse the repository at this point in the history
Test improvement
  • Loading branch information
DivineOmega committed Mar 21, 2020
2 parents 014b90e + 4d99ef5 commit 8e8e1cc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
language: php
dist: trusty
php:
- '7.1'
- '7.2'
- '7.3'
- '7.4'
install:
- composer update
- composer install
script:
- ./vendor/bin/phpunit --coverage-clover ./tests/Logs/clover.xml
after_script:
Expand Down
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,10 @@
"psr-4": {
"DivineOmega\\Postcodes\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DivineOmega\\Postcodes\\Tests\\": "tests/Unit/"
}
}
}
2 changes: 2 additions & 0 deletions tests/Unit/BasicUsageTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

namespace DivineOmega\Postcodes\Tests;

use DivineOmega\Postcodes\Exceptions\InvalidPostcodeException;
use DivineOmega\Postcodes\Utils\Generator;
use DivineOmega\Postcodes\Utils\Tokenizer;
Expand Down
2 changes: 2 additions & 0 deletions tests/Unit/PostcodesIoTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

namespace DivineOmega\Postcodes\Tests;

use DivineOmega\Postcodes\Objects\PostcodesIo;
use PHPUnit\Framework\TestCase;

Expand Down

0 comments on commit 8e8e1cc

Please sign in to comment.