Skip to content

Commit 312cfba

Browse files
VasekPurchartkukulich
authored andcommitted
Move build related configurations to build dir
1 parent 47a8a32 commit 312cfba

File tree

10 files changed

+10
-12
lines changed

10 files changed

+10
-12
lines changed

.coveralls.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

.gitattributes

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
.gitattributes export-ignore
22
.gitignore export-ignore
3-
/.coveralls.yml export-ignore
43
/.travis.yml export-ignore
54
/appveyor.yml export-ignore
5+
/build export-ignore
66
/build.xml export-ignore
77
/tests export-ignore
8-
/phpstan.neon export-ignore
9-
/ruleset.xml export-ignore

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
/bin
22
/composer.lock
3-
/coverage
43
/vendor

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ before_script:
1919
script:
2020
- bin/phing
2121
after_script:
22-
- php bin/coveralls -v
22+
- php bin/coveralls -v --config build/coveralls.yml
2323
notifications:
2424
email: false

build.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
passthru="true"
4141
checkreturn="true"
4242
>
43-
<arg value="--standard=ruleset.xml"/>
43+
<arg value="--standard=build/ruleset.xml"/>
4444
<arg value="--extensions=php"/>
4545
<arg value="--encoding=utf-8"/>
4646
<arg value="--tab-width=4"/>
@@ -92,7 +92,7 @@
9292
<arg value="-l"/>
9393
<arg value="5"/>
9494
<arg value="-c"/>
95-
<arg path="phpstan.neon"/>
95+
<arg path="build/phpstan.neon"/>
9696
<arg path="SlevomatCodingStandard"/>
9797
<arg path="tests"/>
9898
</exec>

build/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/log

build/coveralls.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
service_name: travis-ci
2+
coverage_clover: build/log/coverage/clover.xml
3+
json_path: build/log/coverage/coveralls.json
File renamed without changes.
File renamed without changes.

tests/phpunit.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
<logging>
1313
<log
1414
type="coverage-html"
15-
target="../coverage"
15+
target="../build/log/coverage/html"
1616
charset="UTF-8"
1717
lowUpperBound="0.0000000000001"
1818
highLowerBound="99.999999999999"
1919
/>
20-
<log type="coverage-clover" target="../coverage/clover.xml"/>
20+
<log type="coverage-clover" target="../build/log/coverage/clover.xml"/>
2121
<log
2222
type="coverage-text"
2323
target="php://stdout"

0 commit comments

Comments
 (0)