Skip to content

Commit a62bcb7

Browse files
Nyholmjaviereguiluz
authored andcommitted
Added comment and install simple-phpunit deps
1 parent 65f91df commit a62bcb7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

bundles/best_practices.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,14 +180,17 @@ test latest beta release. Here is a recommended configuration file (``.travis.ym
180180
cache:
181181
directories:
182182
- $HOME/.composer/cache/files
183+
- $HOME/symfony-bridge/.phpunit
184+
183185
env:
184186
global:
185187
- TEST_COMMAND="./vendor/bin/simple-phpunit"
188+
- SYMFONY_PHPUNIT_DIR="$HOME/symfony-bridge/.phpunit"
186189
187190
matrix:
188191
fast_finish: true
189192
include:
190-
# Minimum supported PHP and Symfony version
193+
# Minimum supported Symfony version
191194
- php: 7.2
192195
env: DEPENDENCIES="minimum" COVERAGE=true TEST_COMMAND="phpunit --coverage-text" SYMFONY_DEPRECATIONS_HELPER="weak"
193196
@@ -196,7 +199,8 @@ test latest beta release. Here is a recommended configuration file (``.travis.ym
196199
- php: 7.1
197200
- php: 7.2
198201
199-
# Test LTS versions
202+
# Test LTS versions. This makes sure we do not use symfony packages with version greater
203+
# than 2 or 3 respectively. Read more at https://github.com/symfony/lts
200204
- php: 7.2
201205
env: DEPENDENCIES="symfony/lts:^2"
202206
- php: 7.2
@@ -222,6 +226,7 @@ test latest beta release. Here is a recommended configuration file (``.travis.ym
222226
# To be removed when this issue will be resolved: https://github.com/composer/composer/issues/5355
223227
- if [[ "$COMPOSER_FLAGS" == *"--prefer-lowest"* ]]; then composer update --prefer-dist --no-interaction --prefer-stable --quiet; fi
224228
- composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction
229+
- vendor/bin/simple-phpunit install
225230
226231
script:
227232
- composer validate --strict --no-check-lock

0 commit comments

Comments
 (0)