From be3844998c2dc139fdfb727f13f0ccb57735ab55 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 7 Apr 2015 12:26:12 +0200 Subject: [PATCH] Fix travis file for deps=2.7 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d6530527fa..f21b8b2505 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,7 +41,7 @@ install: - if [ "$deps" = "no" ]; then composer --prefer-source install; fi; - components=$(find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist -printf '%h\n') - if [ "$deps" != "no" ]; then sh .travis.sh $TRAVIS_BRANCH $components; fi; - - if [ "$deps" = "2.7" ]; then git fetch origin 2.7; git checkout -m origin/2.7; export COMPOSER_ROOT_VERSION=2.7.x-dev; fi; + - if [ "$deps" = "2.7" ]; then git fetch origin 2.7; git checkout -m FETCH_HEAD; export COMPOSER_ROOT_VERSION=2.7.x-dev; fi; script: - if [ "$deps" = "no" ]; then echo "$components" | parallel --gnu --keep-order 'echo -e "\\nRunning {} tests"; phpunit --exclude-group tty,benchmark,intl-data {} || (echo -e "\\e[41mKO\\e[0m {}" && $(exit 1));'; fi;