File tree 3 files changed +25
-11
lines changed
3 files changed +25
-11
lines changed Original file line number Diff line number Diff line change 4
4
- 7.4.2
5
5
6
6
before_script :
7
- - curl -sS http://getcomposer.org/installer | php
8
- - php composer.phar install --prefer-source --no-interaction
7
+ - mkdir -p _clover
8
+ - ls -al
9
9
10
10
script :
11
- - ./vendor/bin/phpunit
11
+ - ./vendor/phpunit/phpunit/phpunit --configuration ./phpunit.xml ./tests
12
+
13
+ install :
14
+ # Install composer packages
15
+ - travis_retry composer install --no-interaction --no-suggest
16
+ # Install coveralls.phar
17
+ - wget -c -nc --retry-connrefused --tries=0 https://github.com/php-coveralls/php-coveralls/releases/download/v2.0.0/php-coveralls.phar -O coveralls.phar
18
+ - chmod +x coveralls.phar
19
+ - php coveralls.phar --version
20
+
21
+ after_success :
22
+ # Submit coverage report to Coveralls servers, see .coveralls.yml
23
+ - travis_retry php coveralls.phar -v
24
+ # Submit coverage report to codecov.io
25
+ - bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change 31
31
"ext-json" : " *"
32
32
},
33
33
"require-dev" : {
34
- "phpunit/phpunit" : " ^6 .0" ,
34
+ "phpunit/phpunit" : " ^8 .0" ,
35
35
"mockery/mockery" : " ^1"
36
36
},
37
37
"autoload" : {
Original file line number Diff line number Diff line change 9
9
convertNoticesToExceptions =" true"
10
10
convertWarningsToExceptions =" true"
11
11
processIsolation =" false"
12
- stopOnFailure =" false"
13
- syntaxCheck =" false" >
12
+ stopOnFailure =" false" >
14
13
<testsuites >
15
14
<testsuite name =" SimpleRouter Test Suite" >
16
15
<directory >tests/Pecee/SimpleRouter/</directory >
17
16
</testsuite >
18
17
</testsuites >
19
- <filter >
20
- <whitelist processUncoveredFilesFromWhitelist =" true" >
18
+ <coverage processUncoveredFiles =" true"
19
+ ignoreDeprecatedCodeUnits =" true" >
20
+ <include >
21
21
<directory suffix =" .php" >src</directory >
22
- </whitelist >
23
- </filter >
24
- </phpunit >
22
+ </include >
23
+ </coverage >
24
+ </phpunit >
You can’t perform that action at this time.
0 commit comments