From f00f78eb33ae5a52494ec0cb8cb2b0c924f6bc8b Mon Sep 17 00:00:00 2001 From: Matt Glaman Date: Thu, 14 Feb 2019 12:38:07 -0600 Subject: [PATCH] Globalize COMPOSER_FLAGS --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index c2d4bc8..2b11db9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,8 @@ language: php sudo: false +env: + global: + - COMPOSER_FLAGS='--no-interaction --no-progress --no-suggest --prefer-dist' matrix: include: - php: '7.1' @@ -9,8 +12,6 @@ matrix: allow_failures: - php: nightly fast_finish: true -env: - - COMPOSER_FLAGS='--no-interaction --no-progress --no-suggest --prefer-dist' before_install: - composer global require "hirak/prestissimo:^0.3" - set -eo pipefail @@ -18,7 +19,7 @@ install: - composer validate - composer install $COMPOSER_FLAGS before_script: - - composer create-project drupal-composer/drupal-project:8.x-dev $TRAVIS_BUILD_DIR/../drupal --no-interaction --no-dev --no-suggest + - composer create-project drupal-composer/drupal-project:8.x-dev $TRAVIS_BUILD_DIR/../drupal --no-interaction --no-dev --prefer-dist script: - "$TRAVIS_BUILD_DIR/drupal-check $TRAVIS_BUILD_DIR/../drupal/web/core/install.php" cache: