Skip to content

Commit

Permalink
Globalize COMPOSER_FLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
mglaman committed Feb 14, 2019
1 parent 2169a93 commit f00f78e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -9,16 +12,14 @@ 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
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:
Expand Down

0 comments on commit f00f78e

Please sign in to comment.