File tree Expand file tree Collapse file tree 7 files changed +23
-1
lines changed
Expand file tree Collapse file tree 7 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,11 @@ install:
1919script :
2020 - bin/test --coverage-clover=build/logs/clover.xml
2121
22+ # Remove mapper and run all non-Mapper tests again.
23+ - composer --dev --no-update-with-dependencies remove scriptfusion/mapper
24+ - ' ! composer info | awk '' {print $1}'' | grep ^scriptfusion/mapper'
25+ - bin/test --exclude-group Mapper
26+
2227after_success :
2328 - composer --prefer-source require satooshi/php-coveralls
2429 - vendor/bin/coveralls -v
Original file line number Diff line number Diff line change 1010 "license" : " LGPL-3.0" ,
1111 "require" : {
1212 "php" : " ^5.5|^7" ,
13- "scriptfusion/mapper" : " ^1" ,
1413 "scriptfusion/static-class" : " ^1" ,
1514 "scriptfusion/retry-error-handlers" : " ^1" ,
15+ "eloquent/enumeration" : " ^5" ,
1616 "psr/cache" : " ^1" ,
1717 "zendframework/zend-uri" : " ^2"
1818 },
1919 "require-dev" : {
20+ "scriptfusion/mapper" : " ^1" ,
2021 "phpunit/phpunit" : " ^4" ,
2122 "mockery/mockery" : " ^0" ,
2223 "symfony/process" : " ^3"
2324 },
25+ "suggest" : {
26+ "scriptfusion/mapper" : " Transforms imported data."
27+ },
2428 "autoload" : {
2529 "psr-4" : {
2630 "ScriptFUSION\\ Porter\\ " : " src"
Original file line number Diff line number Diff line change 55
66/**
77 * Specifies cache behaviour.
8+ *
9+ * @method static SHOULD_CACHE
10+ * @method static SHOULD_NOT_CACHE
11+ * @method static MUST_CACHE
12+ * @method static MUST_NOT_CACHE
813 */
914final class CacheAdvice extends AbstractEnumeration
1015{
Original file line number Diff line number Diff line change 77
88/**
99 * @see SubImport
10+ * @group Mapper
1011 */
1112final class SubImportTest extends \PHPUnit_Framework_TestCase
1213{
Original file line number Diff line number Diff line change @@ -156,6 +156,8 @@ public function testImportCountableRecords()
156156 /**
157157 * Tests that when the resource is countable the count is propagated to the outermost collection via a mapped
158158 * collection.
159+ *
160+ * @group Mapper
159161 */
160162 public function testImportAndMapCountableRecords ()
161163 {
Original file line number Diff line number Diff line change 99use ScriptFUSION \Porter \Porter ;
1010use ScriptFUSION \Porter \PorterAware ;
1111
12+ /**
13+ * @see PorterMapper
14+ * @group Mapper
15+ */
1216final class PorterMapperTest extends \PHPUnit_Framework_TestCase
1317{
1418 use MockeryPHPUnitIntegration;
Original file line number Diff line number Diff line change 1010
1111/**
1212 * @see SubImport
13+ * @group Mapper
1314 */
1415final class SubImportTest extends \PHPUnit_Framework_TestCase
1516{
You can’t perform that action at this time.
0 commit comments