annotate vendor/drupal/coder/.travis.yml @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents a9cd425dd02b
children
rev   line source
Chris@5 1 # For PHP 5.5 and lower testing we need to stick to Ubuntu 14.04.
Chris@4 2 dist: trusty
Chris@4 3 language: php
Chris@4 4 sudo: false
Chris@4 5
Chris@5 6 # Cache composer vendor directories to speed up the composer install step.
Chris@5 7 cache:
Chris@5 8 directories:
Chris@5 9 - $HOME/.composer/cache
Chris@5 10 - vendor
Chris@5 11
Chris@4 12 matrix:
Chris@4 13 fast_finish: true
Chris@4 14 include:
Chris@4 15 - php: 5.5
Chris@4 16 - php: 5.6
Chris@4 17 - php: 7.0
Chris@4 18 - php: 7.1
Chris@4 19 - php: 7.2
Chris@5 20 - php: 7.3
Chris@4 21
Chris@4 22 before_install:
Chris@4 23 # Speed up build time by disabling Xdebug when its not needed.
Chris@4 24 - phpenv config-rm xdebug.ini || echo 'No xdebug config.'
Chris@4 25
Chris@4 26 before_script:
Chris@5 27 # Running composer install without a lock file will also update cached
Chris@5 28 # dependencies in vendor.
Chris@4 29 - composer install
Chris@4 30
Chris@4 31 script:
Chris@4 32 - ./vendor/bin/phpunit
Chris@5 33 # Check that the sniffs themselves follow the PHPCS coding standard.
Chris@4 34 - ./vendor/bin/phpcs -p
Chris@5 35 # Ensure that a custom standard can be invoked and the auto-loading of
Chris@5 36 # abstract classes works.
Chris@4 37 - ./vendor/bin/phpcs -p --standard=coder_sniffer/Drupal/Test/phpcs-ruleset.xml coder_sniffer/Drupal/Test/good/ --ignore=coder_sniffer/Drupal/Test/good/GoodUnitTest.php
Chris@5 38 # Ensure that the DrupalPractice standard can be invoked standalone and the
Chris@5 39 # auto-loading of abstract classes works.
Chris@5 40 - ./vendor/bin/phpcs -p --standard=coder_sniffer/DrupalPractice coder_sniffer/DrupalPractice/Test/good/ --ignore=coder_sniffer/DrupalPractice/Test/good/GoodUnitTest.php