From 00ba2ea88da938e4a9fa2f5d2881bd8665b88040 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gildas=20Qu=C3=A9m=C3=A9ner?= Date: Sat, 24 Mar 2018 17:50:36 +0100 Subject: [PATCH] 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. --- .travis.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1ba817c1..289e699d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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')