Skip to content

Commit 26c7fd5

Browse files
committed
Use a local PHPUnit
1 parent ea3f2fc commit 26c7fd5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ matrix:
1616

1717
before_install:
1818
- phpenv config-rm xdebug.ini || echo "xdebug not available"
19-
- phpunit --self-update
2019
- npm install -g swagger-cli
2120
- if [[ $coverage = 1 ]]; then mkdir -p build/logs build/cov; fi
2221
- if [[ $coverage = 1 ]]; then wget https://phar.phpunit.de/phpcov.phar; fi
@@ -30,7 +29,7 @@ install:
3029
- if [[ $deps = 'low' ]]; then composer update --prefer-dist --no-progress --no-suggest --prefer-stable --prefer-lowest --ansi; fi
3130

3231
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
3433
- if [[ $coverage = 1 ]]; then phpdbg -qrr vendor/bin/behat --profile coverage; else vendor/bin/behat; fi
3534
- if [[ $coverage = 1 ]]; then phpdbg -qrr phpcov.phar merge --clover build/logs/clover.xml build/cov; fi
3635
- tests/Fixtures/app/console api:swagger:export > swagger.json && swagger validate swagger.json && rm swagger.json

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"nelmio/api-doc-bundle": "^2.11.2",
3838
"php-mock/php-mock-phpunit": "^1.1",
3939
"phpdocumentor/reflection-docblock": "^3.0",
40+
"phpunit/phpunit": "^5.6",
4041
"psr/log": "^1.0",
4142
"symfony/cache": "^3.1",
4243
"symfony/config": "^2.7",

0 commit comments

Comments
 (0)