Skip to content

Commit 1017897

Browse files
Nyholmjaviereguiluz
authored andcommitted
Using better cache syntax
1 parent 36ca90b commit 1017897

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bundles/best_practices.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ test latest beta release. Here is a recommended configuration file (``.travis.ym
217217
218218
before_install:
219219
- if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi
220-
- if [[ -v $STABILITY ]]; then composer config minimum-stability $STABILITY; fi;
221-
- if [[ -v $DEPENDENCIES ]]; then composer require --no-update $DEPENDENCIES; fi;
220+
- if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; fi;
221+
- if ! [ -v $DEPENDENCIES ]; then composer require --no-update ${DEPENDENCIES}; fi;
222222
223223
install:
224224
# To be removed when this issue will be resolved: https://github.com/composer/composer/issues/5355

0 commit comments

Comments
 (0)