Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
coder
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
coder
Commits
51a21d7f
Commit
51a21d7f
authored
4 years ago
by
Klaus Purer
Browse files
Options
Downloads
Patches
Plain Diff
tests(Travis CI): Disable Travid CI testing (
#3185155
)
parent
3be197cd
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!4
Issue #3217297: False positive in closure usage of USE keyword.
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+0
-50
0 additions, 50 deletions
.travis.yml
README.md
+1
-1
1 addition, 1 deletion
README.md
with
1 addition
and
51 deletions
.travis.yml
deleted
100644 → 0
+
0
−
50
View file @
3be197cd
language
:
php
sudo
:
false
# Cache composer vendor directories to speed up the composer install step.
cache
:
directories
:
-
$HOME/.composer/cache
-
vendor
jobs
:
fast_finish
:
true
include
:
# Support PHP 7.0 because that is the minimum requirement of Drupal 8 core.
-
php
:
7.0
dist
:
xenial
-
php
:
7.1
dist
:
bionic
-
php
:
7.2
dist
:
bionic
-
php
:
7.3
dist
:
bionic
-
php
:
7.4
dist
:
focal
env
:
PHPSTAN=1
before_install
:
# Speed up build time by disabling Xdebug when its not needed.
-
phpenv config-rm xdebug.ini || echo 'No xdebug config.'
before_script
:
# We have a dedicated composer.json file for PHP 7.0 that does not have
# PHPStan because it requires >= PHP 7.1.
-
if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.0" ]]; then cp composer-php-7-0.json composer.json; fi
# Running composer install without a lock file will also update cached
# dependencies in vendor.
-
composer install
script
:
-
./vendor/bin/phpunit
# Check that the sniffs themselves follow the PHPCS coding standard.
-
./vendor/bin/phpcs -p
# Ensure that a custom standard can be invoked and the auto-loading of
# abstract classes works.
-
./vendor/bin/phpcs -p --standard=tests/Drupal/phpcs-ruleset.xml tests/Drupal/good/ --ignore=tests/Drupal/good/GoodUnitTest.php
# Ensure that the DrupalPractice standard can be invoked standalone and the
# auto-loading of abstract classes works.
-
./vendor/bin/phpcs -p --standard=coder_sniffer/DrupalPractice tests/DrupalPractice/good/ --ignore=tests/DrupalPractice/good/GoodUnitTest.php
# Only run PHPStan on the latest PHP version, no need to run it multiple
# times.
-
if [[ $PHPSTAN == "1" ]]; then ./vendor/bin/phpstan analyse; fi
This diff is collapsed.
Click to expand it.
README.md
+
1
−
1
View file @
51a21d7f
# Coder
[

](https://travis-ci.org
/pfrenssen/coder)
[

](https://github.com
/pfrenssen/coder
/actions
)
Coder is a library for automated Drupal code reviews and coding standard fixes. It
defines rules for
[
PHP_CodeSniffer
](
https://github.com/squizlabs/PHP_CodeSniffer
)
...
...
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