Commit 8f65ecf9 authored by webflo's avatar webflo

Configure composer before requiring drupal-ti

parent d66999b7
......@@ -23,13 +23,10 @@ cd "$DRUPAL_TI_DRUPAL_DIR"
# Ensure the module is linked into the codebase.
# Add the oauth token to prevent GitHub timeouts.
composer config "$GITHUB_OAUTH_TOKEN"
# Initialize composer_manager.
php modules/composer_manager/scripts/init.php
composer drupal-rebuild
composer update --prefer-source -n --verbose
composer update -n --verbose
# Enable main module and submodules.
drush en -y commerce commerce_product commerce_order
......@@ -28,7 +28,6 @@ matrix:
- secure: "BBSL3eNj4tEpeMYl4p7qMBE7NtEYUWqFCZFKBbq3/FUrRUP7CoAuEf2QmsDxVMLvxExGBEf1sGTvdDodEZB6d2egY/x5a9nrXPxHkqBWPDeiFJ1JFmhhdHvvp0SoJ3jFXZAiNCg3M4koxeuYwgu0WE9Vz61e5iHxCtnT70ubQJE="
# add composer's global bin directory to the path
# see:
- PATH="$PATH:$HOME/.composer/vendor/bin"
......@@ -102,6 +101,8 @@ mysql:
- composer self-update
# Add the oauth token to prevent GitHub timeouts.
- git config --global github.accesstoken $GITHUB_OAUTH_TOKEN
- composer global require "lionsad/drupal_ti:dev-master"
- drupal-ti before_install
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment