-
-
Notifications
You must be signed in to change notification settings - Fork 555
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[module:install] Allow module installation with Drupal 8.8.x and enab…
…le Composer-based installation (#4167) * Update services.yml * Fixes for module:install
- Loading branch information
1 parent
ddb53e5
commit 9af887a
Showing
2 changed files
with
94 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,9 +45,11 @@ before_script: | |
# PHP 5.5.9 on TravisCI has a Sqlite version that fails | ||
# minimum requirements, so we install on MySql instead. | ||
export SIMPLETEST_DB="mysql://root:@localhost/drupal_travis_db#drupalconsole" | ||
export IMAGEMAGICK_MODULE="drupal/imagemagick:^2" | ||
else | ||
export DRUPAL_BRANCH="8.8.x" | ||
export SIMPLETEST_DB="sqlite://localhost/sites/default/files/.ht.sqlite#drupalconsole" | ||
export IMAGEMAGICK_MODULE="drupal/imagemagick:dev-3.x" | ||
fi | ||
# Get Drupal via git, and install it via Composer. | ||
|
@@ -66,6 +68,9 @@ before_script: | |
script: | ||
# Install Drupal site via drupal/console and show site status. | ||
- drupal site:install standard $SIMPLETEST_DB --langcode=en --site-name="Drupal 8 Site Install" [email protected] --account-name=admin [email protected] --account-pass=admin --no-interaction | ||
- drupal module:install --composer token admin_toolbar "$IMAGEMAGICK_MODULE" --verbose --no-interaction | ||
- drupal debug:module | ||
- drupal config:override system.image --key=toolkit --value=imagemagick | ||
- drupal site:status -v | ||
# - cd $DRUPAL_PATH/vendor/drupal/console | ||
# - ../../phpunit/phpunit/phpunit | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters