diff --git a/.travis.yml b/.travis.yml index e8eb42d2f..e3c179e44 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,6 @@ services: - redis php: - - 7.1 - 7.2 - 7.3 - 7.4 @@ -16,9 +15,15 @@ php: env: jobs: - DB=mysql + COMPOSER=1 + - DB=mysql + COMPOSER=2 - DB=sqlite + COMPOSER=1 - DB=pgsql + COMPOSER=1 - DB=memory + COMPOSER=1 jobs: fast_finish: true @@ -28,8 +33,9 @@ cache: - $HOME/.composer/cache before_install: - # Force use of Composer 1.x - - composer self-update --1 + # Force use of Composer 1x or 2.x + - composer self-update --$COMPOSER + - composer config -g github-oauth.github.com "$TOKEN" # copy sprinkles.json - cp app/sprinkles.example.json app/sprinkles.json # set up db @@ -42,7 +48,7 @@ before_install: before_script: # install deps and UF - - COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --no-interaction + - COMPOSER_MEMORY_LIMIT=-1 travis_retry composer update --no-interaction - php bakery debug - php bakery build-assets - php bakery migrate diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f10b67a0..093b9cdf2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -996,3 +996,4 @@ See [http://learn.userfrosting.com/upgrading/40-to-41](Upgrading 4.0.x to 4.1.x [v4.4.1]: https://github.com/userfrosting/UserFrosting/compare/v4.4.0...v4.4.1 [v4.4.2]: https://github.com/userfrosting/UserFrosting/compare/v4.4.1...v4.4.2 [v4.4.3]: https://github.com/userfrosting/UserFrosting/compare/v4.4.2...v4.4.3 +[v4.4.4]: https://github.com/userfrosting/UserFrosting/compare/v4.4.3...v4.4.4 diff --git a/composer.json b/composer.json index 47d3b9d16..899e054a5 100755 --- a/composer.json +++ b/composer.json @@ -23,13 +23,19 @@ "config": { "vendor-dir": "app/vendor" }, + "repositories": [ + { + "type":"vcs", + "url":"https://github.com/mcaskill/composer-merge-plugin" + } + ], "require": { - "php": ">=7.1", + "php": ">=7.2", "ext-gd": "*", "composer/installers": "^1.4.0", "userfrosting/uniformresourcelocator": "~4.4.0", "symfony/console": "^4.3", - "wikimedia/composer-merge-plugin": "^1.4.0" + "wikimedia/composer-merge-plugin": "dev-feature/composer-v2 as 1.5.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^2.13",