Skip to content

Commit 2ca7aea

Browse files
committed
minor #189 Fix: No need to specify preferred installation method on Travis (localheinz)
This PR was squashed before being merged into the 1.0-dev branch (closes #189). Discussion ---------- Fix: No need to specify preferred installation method on Travis This PR * [x] removes the `--prefer-dist` option when running `composer install` on Travis * [x] simplifies the configuration for `preferred-install` in `composer.json` 💁‍♂️ It's already configured in [`composer.json`](https://github.com/symfony/maker-bundle/blob/bb0485a3b2eecc561eff735109316677e18fb1d1/composer.json#L35-L37). Commits ------- 98d8ca1 Fix: Simplify configuration c2e444a Fix: No need to specify preferred installation method on Travis
2 parents 0e8d40d + 98d8ca1 commit 2ca7aea

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121
- SYMFONY_PHPUNIT_DIR=.phpunit
2222

2323
install:
24-
- composer --prefer-dist install
24+
- composer install
2525
- ./vendor/bin/simple-phpunit install
2626

2727
before_script:

composer.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@
3232
"symfony/process": "^3.4|^4.0"
3333
},
3434
"config": {
35-
"preferred-install": {
36-
"*": "dist"
37-
},
35+
"preferred-install": "dist",
3836
"sort-packages": true
3937
},
4038
"autoload": {

0 commit comments

Comments
 (0)