Commit 1bcefc6d authored by Jonathan Smith's avatar Jonathan Smith Committed by Jonathan Smith
Browse files

Issue #3035104 by jonathan1055: Adjust allowed deprecation counts on Travis

parent 0a0168b2
Loading
Loading
Loading
Loading
+23 −24
Changes for .travis.yml: 23 added lines, 24 removed lines.
Original line number Diff line number Diff line
@@ -20,38 +20,37 @@ jobs:
    - php: 7.2
      env:
        - DRUPAL_CORE=8.9.x
        # 8.9 is slow, 50 mins is the Travis limit, so skip all additional
        # entity types. Also skip Rules because it cannot be installed at 8.x.
        - NODE=YES
        # 8.9 is slow, 50 mins is the Travis limit, so run just the Media tests.
        # Also skip Rules because it cannot be installed at 8.x.
        - MEDIA=YES
        # ---- Remaining self deprecation notices (0)
        # ---- Other deprecation notices (0)
    - php: 7.3
      env:
        # Just run Media, Taxonomy Term and Rules tests.
        # Run the Media and Taxonomy Term tests, with Rules included.
        - DRUPAL_CORE=9.2.x
        - MEDIA=YES
        - TAXONOMY=YES
        - RULES=YES
        # ---- Remaining self deprecation notices (149)
        #  147 EventDispatcher with string event
        #    2 Kernel $modules property must be declared protected
        - DEPRECATIONS=149
    - php: 7.4.22
        # ---- Remaining self deprecation notices (145)
        #  145 EventDispatcher with string event
        # ---- Other deprecation notices (0)
        - DEPRECATIONS=145
    - php: 7.4
      env:
        - DRUPAL_CORE=9.3.x
        # Just run Node and Product tests.
        # Run the Node and Product tests, with Rules included.
        - NODE=YES
        - PRODUCT=YES
        # ---- Remaining self deprecation notices (1850)
        # 1184 Symfony KernelEvent::isMasterRequest()
        #  360 hook_field_widget_form_alter (Commerce)
        #  291 EventDispatcher with string event
        #   13 Creating an instance of this class is deprecated in drupal:9.1.0
        - RULES=YES
        # ---- Remaining self deprecation notices (370)
        #  368 EventDispatcher with string event
        #    2 Kernel $modules property must be declared protected
        # ---- Other deprecation notices (1234)
        #  617 drupal_get_path() is deprecated in drupal:9.3.0
        #  617 drupal_get_filename() is deprecated in drupal:9.3.0
        - DEPRECATIONS=3084
    - php: 7.4.22
        # ---- Other deprecation notices (1474)
        #  737 drupal_get_path() is deprecated in drupal:9.3.0
        #  737 drupal_get_filename() is deprecated in drupal:9.3.0
        - DEPRECATIONS=1844
    - php: 8.0
      env:
        - DRUPAL_CORE=9.4.x
        - NODE=YES
@@ -144,10 +143,10 @@ script:
  # By default the specific entity type tests will be excluded unless explicitly
  # included via a YES variable value.
  - EXCLUDE=()
  - if [ "$NODE" != "YES" ]; then EXCLUDE+=('#node|BasicNode|HooksLegacy|Multilingual|WorkbenchModeration'); fi
  - if [ "$MEDIA" != "YES" ]; then EXCLUDE+=('#media|BasicMedia'); fi
  - if [ "$PRODUCT" != "YES" ]; then EXCLUDE+=('#commerce_product|BasicProduct'); fi
  - if [ "$TAXONOMY" != "YES" ]; then EXCLUDE+=('#taxonomy_term|BasicTaxonomy'); fi
  - if [ "$NODE" != "YES" ]; then EXCLUDE+=('node|HooksLegacy|Multilingual|WorkbenchModeration|Migrate'); fi
  - if [ "$MEDIA" != "YES" ]; then EXCLUDE+=('media'); fi
  - if [ "$PRODUCT" != "YES" ]; then EXCLUDE+=('product'); fi
  - if [ "$TAXONOMY" != "YES" ]; then EXCLUDE+=('taxonomy'); fi
  - if [ "$RULES" != "YES" ]; then EXCLUDE+=('rules'); fi
  - EXCLUDE=${EXCLUDE[@]}     # create a space delimited string from array