File tree 2 files changed +15
-1
lines changed
2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change
1
+ exclude_patterns :
2
+ - " config/"
3
+ - " database/"
4
+ - " docs/"
5
+ - " resources/"
6
+ - " tests/"
Original file line number Diff line number Diff line change @@ -15,7 +15,15 @@ matrix:
15
15
- php : ' nightly'
16
16
17
17
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
18
21
- composer install
19
22
20
23
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
You can’t perform that action at this time.
0 commit comments