Skip to content

Commit

Permalink
CI updates minimum stability on-the-fly (#69)
Browse files Browse the repository at this point in the history
In CI composer.json minimum stability is changed to `dev` when symfony dev-master is required
  • Loading branch information
ilario-pierbattista authored Mar 11, 2019
1 parent 1e5447a commit 96e6873
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ install:
- sudo chmod -R 777 . # ugly! Travis is 2000:2000
- |
if [ "$SYMFONY" != "" ]; then
docker-compose run --no-deps --rm php-cli composer require "symfony/symfony:${SYMFONY}" --no-update;
if [[ "$SYMFONY" = "dev-master" ]]; then
docker-compose run --no-deps --rm php-cli composer config minimum-stability dev
fi;
docker-compose run --no-deps --rm php-cli composer require "symfony/symfony:${SYMFONY}" --no-update;
fi;
- docker-compose run --no-deps --rm php-cli composer install --prefer-dist --no-interaction ${COMPOSER_FLAGS}

Expand Down

0 comments on commit 96e6873

Please sign in to comment.