HEX
Server: Apache
System: Linux ecngx285.inmotionhosting.com 4.18.0-553.79.1.lve.el8.x86_64 #1 SMP Wed Oct 15 17:59:35 UTC 2025 x86_64
User: zeusxp5 (3862)
PHP: 8.3.28
Disabled: NONE
Upload Files
File: /home/zeusxp5/lrliberia.com/wp-content/plugins/boldgrid-backup/vendor/boldgrid/library/.travis.yml
language: php

# Distrubution / environments: https://docs.travis-ci.com/user/reference/overview/
# Ubuntu Trusty does not support php8: https://docs.travis-ci.com/user/languages/php/
dist: focal

services:
  # Specifically including MySQL was not needed with Trusty, but other environments do need it.
  - mysql

notifications:
  email:
    on_success: never
    on_failure: change

language: php, node_js

node_js:
- lts/*

env:
  - WP_VERSION=latest WP_MULTISITE=0

matrix:
  include:
    - php: 7.4
      before_script:
        - yarn install
        # Remove phpunit and install best phpunit version based on this environment.
        - composer update phpunit/phpunit
        # A note on our composer / yarn usage:
        # Our composer post-autoload-dump script will copy files from within node_modules/* to our plugin
        # and then delete the node_modules folder. If node_modules are needed after this point, such
        # as for "yarn run js-lint", another "yarn install" will be needed.
        - composer install -o
        - bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
    - php: 8.0
      before_script:
        - yarn install
        - composer update phpunit/phpunit
        - composer install -o
        - bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION

script:
  - vendor/phpunit/phpunit/phpunit --debug
  # Temporarily disabling js-lint. @todo This needs to be fixed.
  # The current config used, eslint-config-wordpress, is deprecated. That packages names replacements.
  # - yarn run js-lint