diff --git a/.travis.yml b/.travis.yml
index d3645cb..a3d4148 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,8 +4,22 @@ php:
- 7.4.2
before_script:
- - curl -sS http://getcomposer.org/installer | php
- - php composer.phar install --prefer-source --no-interaction
+ - mkdir -p _clover
+ - ls -al
script:
- - ./vendor/bin/phpunit
\ No newline at end of file
+ - ./vendor/phpunit/phpunit/phpunit --configuration ./phpunit.xml ./tests
+
+install:
+ # Install composer packages
+ - travis_retry composer install --no-interaction --no-suggest
+ # Install coveralls.phar
+ - 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
+ - chmod +x coveralls.phar
+ - php coveralls.phar --version
+
+after_success:
+ # Submit coverage report to Coveralls servers, see .coveralls.yml
+ - travis_retry php coveralls.phar -v
+ # Submit coverage report to codecov.io
+ - bash <(curl -s https://codecov.io/bash)
\ No newline at end of file
diff --git a/composer.json b/composer.json
index 8514aee..4f4ee6f 100644
--- a/composer.json
+++ b/composer.json
@@ -31,7 +31,7 @@
"ext-json": "*"
},
"require-dev": {
- "phpunit/phpunit": "^6.0",
+ "phpunit/phpunit": "^8.0",
"mockery/mockery": "^1"
},
"autoload": {
diff --git a/phpunit.xml b/phpunit.xml
index 6e8f0c6..bad4398 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -9,16 +9,16 @@
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
- stopOnFailure="false"
- syntaxCheck="false">
+ stopOnFailure="false">
tests/Pecee/SimpleRouter/
-
-
+
+
src
-
-
-
+
+
+
\ No newline at end of file