Skip to content

Commit 8ce3a02

Browse files
MAGETWO-72344: Enhancement: Configure preferred installation source in composer.json #10774
2 parents f9a9106 + 27cfa88 commit 8ce3a02

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ cache:
4848
- $HOME/node_modules
4949
- $HOME/yarn.lock
5050
before_install: ./dev/travis/before_install.sh
51-
install: composer install --no-interaction --prefer-dist
51+
install: composer install --no-interaction
5252
before_script: ./dev/travis/before_script.sh
5353
script:
5454
# Set arguments for variants of phpunit based tests; '|| true' prevents failing script when leading test fails

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"OSL-3.0",
88
"AFL-3.0"
99
],
10+
"config": {
11+
"preferred-install": "dist"
12+
},
1013
"require": {
1114
"php": "7.0.2|7.0.4|~7.0.6|~7.1.0",
1215
"zendframework/zend-stdlib": "^2.7.7",

0 commit comments

Comments
 (0)