File tree 7 files changed +20
-9
lines changed
7 files changed +20
-9
lines changed Original file line number Diff line number Diff line change 8
8
environments:
9
9
docker:
10
10
paths:
11
- - "dev-ops/docker/actions"
11
+ - "dev-ops/docker/actions"
12
+ travis:
13
+ paths:
14
+ - "dev-ops/travis/actions"
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ install:
11
11
- composer install
12
12
13
13
script :
14
- - ./tools/psh code-style
15
- - ./tools/psh quality
16
- - ./tools/psh unit
14
+ - ./tools/psh travis: code-style
15
+ - ./tools/psh travis: quality
16
+ - ./tools/psh travis: unit
17
17
18
18
matrix :
19
19
allow_failures :
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ # DESCRIPTION: execute php-cs-fixer
3
+
4
+ ./tools/php-cs-fixer fix --config=.php-cs --dry-run
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ # DESCRIPTION: execute all quality analyzer
3
+
4
+ INCLUDE: ./../../common/actions/quality.sh
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ # DESCRIPTION: execute phpunit
3
+
4
+ USERNAME=$USERNAME APIKEY=$APIKEY ./vendor/bin/phpunit --stop-on-failure --stop-on-error --coverage-html=./build/artifacts/html-coverage
Original file line number Diff line number Diff line change 19
19
<directory >src</directory >
20
20
</whitelist >
21
21
</filter >
22
- <php >
23
- <env name =" USERNAME" value =" " />
24
- <env name =" APIKEY" value =" " />
25
- </php >
26
22
</phpunit >
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ private function checkItems(EstimateEntity $entity)
92
92
$ errorMessages [] = $ this ->estimateItemValidator ->validateEstimateItem ($ item );
93
93
}
94
94
95
- if (count ($ errorMessages )) {
95
+ if (count ($ errorMessages ) > 1 ) {
96
96
throw new MissingPropertyException (implode ("\r\n" , $ errorMessages ));
97
97
}
98
98
}
You can’t perform that action at this time.
0 commit comments