File tree Expand file tree Collapse file tree 3 files changed +18
-12
lines changed Expand file tree Collapse file tree 3 files changed +18
-12
lines changed Original file line number Diff line number Diff line change 11language : php
22sudo : false
33php :
4+ - 7.3
5+ - 7.2
46 - 7.1
5- - 7.0
67install :
7- - composer install --prefer-dist
8+ - composer install --optimize-autoloader --prefer-dist --no-interaction
9+ before_script :
10+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
11+ - chmod +x ./cc-test-reporter
12+ - ./cc-test-reporter before-build
813script :
914 - vendor/bin/phpunit --coverage-clover build/logs/clover.xml
10- after_success :
11- - vendor/bin/ test-reporter
15+ after_script :
16+ - ./cc- test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
Original file line number Diff line number Diff line change 99 }
1010 ],
1111 "require" : {
12- "flow/jsonpath" : " ^0.3.1" ,
13- "phpunit/phpunit" : " >=6.0" ,
14- "justinrainbow/json-schema" : " ^5.0" ,
15- "php" : " >=7.0"
12+ "php" : " >=7.0" ,
13+ "flow/jsonpath" : " ^0.4.0" ,
14+ "justinrainbow/json-schema" : " ^5.0"
1615 },
1716 "require-dev" : {
18- "codeclimate/php-test-reporter " : " dev-master "
17+ "phpunit/phpunit " : " ^6.0 | ^7.0 "
1918 },
2019 "autoload" : {
2120 "psr-4" : {
2726 " vendor/phpunit/phpunit/src/Framework/Assert/Functions.php" ,
2827 " src/Functions.php"
2928 ]
29+ },
30+ "config" : {
31+ "sort-packages" : true
3032 }
3133}
Original file line number Diff line number Diff line change 66 convertErrorsToExceptions =" true"
77 convertNoticesToExceptions =" true"
88 convertWarningsToExceptions =" true"
9- mapTestClassNameToCoveredClassName =" false"
109 timeoutForSmallTests =" 1"
1110 timeoutForMediumTests =" 10"
1211 timeoutForLargeTests =" 60" >
2120 <logging >
2221 <log type =" coverage-html" target =" build/coverage" lowUpperBound =" 35"
2322 highLowerBound =" 70" />
24- <log type =" junit" target =" build/phpunit" logIncompleteSkipped = " false " />
23+ <log type =" junit" target =" build/phpunit" />
2524 </logging >
2625 <filter >
2726 <whitelist processUncoveredFilesFromWhitelist =" true" >
2827 <directory suffix =" .php" >src</directory >
2928 </whitelist >
3029 </filter >
31- </phpunit >
30+ </phpunit >
You can’t perform that action at this time.
0 commit comments