Skip to content

Commit 830d47d

Browse files
authored
test(Travis CI): Fix composer 2 global install location (#1100)
1 parent 477dd46 commit 830d47d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ install:
106106

107107
# Install PHPCS to check for Drupal coding standards.
108108
- travis_retry composer global require drupal/coder:8.3.10
109-
- $HOME/.composer/vendor/bin/phpcs --config-set installed_paths $HOME/.composer/vendor/drupal/coder/coder_sniffer
109+
- $HOME/.config/composer/vendor/bin/phpcs --config-set installed_paths $HOME/.config/composer/vendor/drupal/coder/coder_sniffer
110110

111111
script:
112112
# Run the unit tests using phpdbg if the environment variable is 'true'.
@@ -115,7 +115,7 @@ script:
115115
fi
116116

117117
# Check for coding standards violations.
118-
- cd $DRUPAL_BUILD_DIR/modules/graphql && $HOME/.composer/vendor/bin/phpcs
118+
- cd $DRUPAL_BUILD_DIR/modules/graphql && $HOME/.config/composer/vendor/bin/phpcs
119119

120120
# Run the unit tests with standard php otherwise.
121121
- if [[ "$WITH_PHPDBG_COVERAGE" != "true" ]];

0 commit comments

Comments
 (0)