Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
typed_data
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
typed_data
Commits
b3d3e9a1
Commit
b3d3e9a1
authored
2 years ago
by
Jonathan Smith
Committed by
Tim Rohaly
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3317081
by jonathan1055, TR: Add Travis test at 9.5 and fix phpcs installed_paths
parent
6a55bb95
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+6
-6
6 additions, 6 deletions
.travis.yml
with
6 additions
and
6 deletions
.travis.yml
+
6
−
6
View file @
b3d3e9a1
...
...
@@ -71,12 +71,8 @@ before_script:
-
travis_retry composer install
# Coder is already installed as part of composer install. For Coder versions
# up to 8.3.13 (Core 9.3) we need to set the installed_paths to pick up the
# Drupal standards. From 8.3.14 (Core 9.4+) this is done at install time.
-
|
if [[ "$DRUPAL_CORE" == "9.1.x" ]]; then
$DRUPAL_ROOT/vendor/bin/phpcs --config-set installed_paths $DRUPAL_ROOT/vendor/drupal/coder/coder_sniffer
fi
# up to 8.3.13 (Core 9.3) we need to get this extra requirement.
-
travis_retry composer require slevomat/coding-standard:*
# Start a web server on port 8888, run in the background.
-
php -S localhost:8888 &
...
...
@@ -93,6 +89,10 @@ script:
-
./vendor/bin/phpunit -c ./core/phpunit.xml.dist ./modules/$MODULE/tests/
# Check for coding standards. First show the versions.
-
composer config --no-plugins allow-plugins.composer/installers
true
-
composer config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer
true
-
composer config --no-plugins allow-plugins.drupal/core-project-message
true
-
composer config --no-plugins allow-plugins.drupal/core-vendor-hardening
true
-
composer show drupal/coder | egrep 'name |vers'
-
composer show squizlabs/php_codesniffer | egrep 'name |vers'
-
$DRUPAL_ROOT/vendor/bin/phpcs --version
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment