Skip to content

Commit 352f3b1

Browse files
committed
infra: fix Travis with no SYMFONY_VERSION set
1 parent 31ff637 commit 352f3b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: php
22

3-
sudo: false
3+
sudo: true
44
php:
55
- 7.1
66
- 7.2

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ composer-config-beta:
2626

2727
composer-install:
2828
rm -f composer.lock && cp composer.json composer.json~
29-
composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update
29+
[[ -v SYMFONY_VERSION ]] && composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update || true
3030
composer update --prefer-dist --no-interaction
3131
mv composer.json~ composer.json
3232

0 commit comments

Comments
 (0)