Skip to content

Commit 444f011

Browse files
authored
Merge pull request #92 from bavix/master
updating branch
2 parents 32e53fe + 5b117f2 commit 444f011

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

Diff for: .codeclimate.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
exclude_patterns:
2+
- "config/"
3+
- "database/"
4+
- "docs/"
5+
- "resources/"
6+
- "tests/"

Diff for: .travis.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,15 @@ matrix:
1515
- php: 'nightly'
1616

1717
before_script:
18+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
19+
- chmod +x ./cc-test-reporter
20+
- ./cc-test-reporter before-build
1821
- composer install
1922

2023
script:
21-
- ./vendor/bin/infection --min-msi=60 -j$(nproc)
24+
- ./vendor/bin/phpunit --coverage-xml=build/coverage-xml --log-junit=build/phpunit.junit.xml
25+
- ./vendor/bin/infection --coverage=build --min-msi=60 -j$(nproc)
26+
27+
after_script:
28+
- cp ./build/logs/clover.xml clover.xml
29+
- ./cc-test-reporter after-build --coverage-input-type clover --exit-code $TRAVIS_TEST_RESULT

0 commit comments

Comments
 (0)