Skip to content

Commit 36ca90b

Browse files
Nyholmjaviereguiluz
authored andcommitted
Using PHPUNIT_FLAGS
1 parent 18e4a18 commit 36ca90b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bundles/best_practices.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ test latest beta release. Here is a recommended configuration file (``.travis.ym
184184
185185
env:
186186
global:
187-
- TEST_COMMAND="./vendor/bin/simple-phpunit"
187+
- PHPUNIT_FLAGS="-v"
188188
- SYMFONY_PHPUNIT_DIR="$HOME/symfony-bridge/.phpunit"
189189
190190
matrix:
@@ -198,7 +198,7 @@ test latest beta release. Here is a recommended configuration file (``.travis.ym
198198
- php: 7.0
199199
- php: 7.1
200200
- php: 7.2
201-
env: COVERAGE=true TEST_COMMAND="./vendor/bin/simple-phpunit --coverage-text"
201+
env: COVERAGE=true PHPUNIT_FLAGS="-v --coverage-text"
202202
203203
# Test LTS versions. This makes sure we do not use Symfony packages with version greater
204204
# than 2 or 3 respectively. Read more at https://github.com/symfony/lts
@@ -228,7 +228,7 @@ test latest beta release. Here is a recommended configuration file (``.travis.ym
228228
229229
script:
230230
- composer validate --strict --no-check-lock
231-
- $TEST_COMMAND
231+
- ./vendor/bin/simple-phpunit $PHPUNIT_FLAGS
232232
233233
When configuring travis you should also enable `Travis cron`_ to make sure your
234234
project is build even if there is no new pull requests or commits.

0 commit comments

Comments
 (0)