File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ matrix:
16
16
17
17
before_install :
18
18
- phpenv config-rm xdebug.ini || echo "xdebug not available"
19
- - phpunit --self-update
20
19
- npm install -g swagger-cli
21
20
- if [[ $coverage = 1 ]]; then mkdir -p build/logs build/cov; fi
22
21
- if [[ $coverage = 1 ]]; then wget https://phar.phpunit.de/phpcov.phar; fi
@@ -30,7 +29,7 @@ install:
30
29
- if [[ $deps = 'low' ]]; then composer update --prefer-dist --no-progress --no-suggest --prefer-stable --prefer-lowest --ansi; fi
31
30
32
31
script :
33
- - if [[ $coverage = 1 ]]; then phpdbg -qrr -dmemory_limit=-1 "$(phpenv which phpunit)" --coverage-php build/cov/coverage-phpunit.cov; else phpunit; fi
32
+ - if [[ $coverage = 1 ]]; then phpdbg -qrr -dmemory_limit=-1 vendor/bin/ phpunit --coverage-php build/cov/coverage-phpunit.cov; else vendor/bin/ phpunit; fi
34
33
- if [[ $coverage = 1 ]]; then phpdbg -qrr vendor/bin/behat --profile coverage; else vendor/bin/behat; fi
35
34
- if [[ $coverage = 1 ]]; then phpdbg -qrr phpcov.phar merge --clover build/logs/clover.xml build/cov; fi
36
35
- tests/Fixtures/app/console api:swagger:export > swagger.json && swagger validate swagger.json && rm swagger.json
Original file line number Diff line number Diff line change 37
37
"nelmio/api-doc-bundle" : " ^2.11.2" ,
38
38
"php-mock/php-mock-phpunit" : " ^1.1" ,
39
39
"phpdocumentor/reflection-docblock" : " ^3.0" ,
40
+ "phpunit/phpunit" : " ^5.6" ,
40
41
"psr/log" : " ^1.0" ,
41
42
"symfony/cache" : " ^3.1" ,
42
43
"symfony/config" : " ^2.7" ,
You can’t perform that action at this time.
0 commit comments