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:
Gildas Quéméner
2018-03-24 18:05:11 +01:00
parent f45406ffcd
commit 00ba2ea88d
+7 -5
View File
@@ -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')