Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move PHPUnit to vendor-bin directory #183

Merged
merged 4 commits into from
Jan 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ cache:
before_install:
- phpenv config-rm xdebug.ini || return 0;
- composer self-update
- composer global require hirak/prestissimo -a

install:
- if [[ "$DEPENDENCIES" = 'high' ]]; then
Expand All @@ -41,6 +42,7 @@ install:
- if [[ "$DEPENDENCIES" = 'high' ]] && [[ "$TRAVIS_PHP_VERSION" = '7.2' ]]; then
travis_retry composer bin cs-fixer install -a --no-dev;
fi
- travis_retry composer bin phpunit install -a;

before_script:
- composer install --prefer-source --no-interaction
Expand Down
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ install:
- cd c:\projects\crunz
- IF %dependencies%==low appveyor-retry composer update --prefer-lowest --no-progress --profile -n
- IF %dependencies%==high appveyor-retry composer update --no-progress --profile -n
- appveyor-retry composer bin phpunit install -a --no-progress
- composer show

## Run the actual test
Expand Down
4 changes: 0 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@
"require-dev": {
"ext-mbstring": "*",
"bamarni/composer-bin-plugin": "^1.2",
"phpdocumentor/reflection-docblock": "^2.0.1",
"phpunit/phpunit": "5.7.27",
"sebastian/comparator": "1.2.4",
"symfony/phpunit-bridge": "^3.4 || ^4.0",
"symfony/var-dumper": "^3.4"
},
"autoload": {
Expand Down
3 changes: 3 additions & 0 deletions docker/dev-tools/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
FROM php:7.2-cli-alpine

RUN apk add --no-cache \
shadow \
su-exec && \
usermod --non-unique --uid 1000 www-data && \
apk del shadow && \
docker-php-ext-install -j$(nproc) \
opcache

Expand Down
11 changes: 11 additions & 0 deletions vendor-bin/phpunit/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"require": {
"phpunit/phpunit": "^5.7",
"symfony/phpunit-bridge": "^3.4 || ^4.0"
},
"config": {
"platform": {
"php": "5.6"
}
}
}
Loading