From 56ba055a8fac654c04324b2afe172eb9288d6910 Mon Sep 17 00:00:00 2001 From: Yonel Ceruto Date: Wed, 18 Jul 2018 08:17:33 -0400 Subject: [PATCH] Update deps and create phpunit in bin/ directory --- .gitignore | 1 + .travis.yml | 8 ++--- bin/phpunit | 18 +++++++++++ composer.lock | 84 ++++++++++++++++++++++++++++----------------------- 4 files changed, 69 insertions(+), 42 deletions(-) create mode 100755 bin/phpunit diff --git a/.gitignore b/.gitignore index 20177d552..ef06a68b1 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,7 @@ yarn-error.log ###< symfony/framework-bundle ### ###> symfony/phpunit-bridge ### +.phpunit /phpunit.xml ###< symfony/phpunit-bridge ### diff --git a/.travis.yml b/.travis.yml index 3aefa3f33..5c716d6ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,11 +4,11 @@ sudo: false cache: directories: - $HOME/.composer/cache/files - - $HOME/symfony-bridge/.phpunit + - ./bin/.phpunit env: global: - - SYMFONY_PHPUNIT_DIR="$HOME/symfony-bridge/.phpunit" + - SYMFONY_PHPUNIT_DIR=./bin/.phpunit matrix: fast_finish: true @@ -25,10 +25,10 @@ before_install: install: - composer install - - ./vendor/bin/simple-phpunit install + - ./bin/phpunit install script: - - ./vendor/bin/simple-phpunit + - ./bin/phpunit # this checks that the source code follows the Symfony Code Syntax rules - '[[ "$TRAVIS_PHP_VERSION" == "nightly" ]] || ./vendor/bin/php-cs-fixer fix --diff --dry-run -v' # this checks that the YAML config files contain no syntax errors diff --git a/bin/phpunit b/bin/phpunit new file mode 100755 index 000000000..5973cd322 --- /dev/null +++ b/bin/phpunit @@ -0,0 +1,18 @@ +#!/usr/bin/env php +