LionsAd / drupal_ti

Drupal - Travis Integration
82 stars 37 forks source link

Composer 1.8.x - drupal-ti: command not found #116

Closed WengerK closed 5 years ago

WengerK commented 5 years ago

The new composer version (1.8.x) released on 2018-12-03 seems break some Travis CI instance with the following message:

The command "drupal-ti before_install" failed and exited with 127 during .

I had to add the composer vendor bin directory to the Travis Path & specify the vendor home directory (which is hardcoded in drupal_ti on environments/drupal-8.sh/environments/drupal-7.sh).

before_install:
    # add composer's global bin directory to the path
    # see: https://github.com/drush-ops/drush#install---composer
    - PATH="$PATH:$HOME/.composer/vendor/bin"
    - export COMPOSER_HOME="$HOME/.composer/"