Skip to content

Commit

Permalink
Move PHPUnit to vendor-bin directory (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloKowalczyk authored Jan 20, 2019
1 parent e3a8dc3 commit 166e453
Show file tree
Hide file tree
Showing 6 changed files with 1,483 additions and 4 deletions.
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

0 comments on commit 166e453

Please sign in to comment.