Skip to content
Snippets Groups Projects
Commit ec4c56a6 authored by Maxim's avatar Maxim Committed by David Buchmann
Browse files

Update phpspec (#157)

Update phpspec and phpspec-code-coverage
parent e7bbae48
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,9 @@ matrix:
fast_finish: true
include:
- php: 7.0
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
- php: 7.4
env: COVERAGE=true TEST_COMMAND="composer test-ci"
before_install:
- if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi
......
......@@ -21,8 +21,8 @@
"php-http/promise": "^1.0"
},
"require-dev": {
"phpspec/phpspec": "^2.4",
"henrikbjorn/phpspec-code-coverage" : "^1.0"
"phpspec/phpspec": "^4.3.4|^5.0|^6.0",
"friends-of-phpspec/phpspec-code-coverage" : "^4.1"
},
"autoload": {
"psr-4": {
......
......@@ -4,7 +4,7 @@ suites:
psr4_prefix: Http\Client
formatter.name: pretty
extensions:
- PhpSpec\Extension\CodeCoverageExtension
FriendsOfPhpSpec\PhpSpec\CodeCoverage\CodeCoverageExtension: ~
code_coverage:
format: clover
output: build/coverage.xml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment