mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-14 16:46:30 +03:00
Fixed multi-package travis build
`composer req` expect one or many packages separated by a space character as argument. This commit ensures the $PACKAGES variable does not contain a new line separated list.
This commit is contained in:
+7
-5
@@ -8,10 +8,12 @@ cache:
|
||||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
- php: 7.1
|
||||
env: SKELETON_VERSION="^3.4"
|
||||
- php: 7.1
|
||||
env: SKELETON_VERSION="^4.0"
|
||||
-
|
||||
php: 7.1
|
||||
env: SKELETON_VERSION="^3.4"
|
||||
-
|
||||
php: 7.1
|
||||
env: SKELETON_VERSION="^4.0"
|
||||
|
||||
before_install:
|
||||
- phpenv config-rm xdebug.ini || true
|
||||
@@ -25,4 +27,4 @@ install:
|
||||
- composer config extra.symfony.allow-contrib true
|
||||
|
||||
script:
|
||||
- composer req "${PACKAGES}"
|
||||
- composer req $(echo "$PACKAGES" | tr --delete '\n')
|
||||
|
||||
Reference in New Issue
Block a user