HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/iranga.kauko.lt/wp-content/plugins/woocommerce-bookings.bad/.travis.yml
language: php

sudo: false

# Test main supported versions of PHP against latest WP. 5.2 is min supported PHP version.
php:
  - 5.6
  - 7.0
  - 7.1

env:
  - WP_VERSION=latest WP_MULTISITE=0  WC_VERSION=2.6.14

# Additonal tests against stable PHP (min recommended version is 5.6) and past supported versions of WP.
matrix:
  include:
  - php: 5.6
    env: WP_VERSION=latest WP_MULTISITE=1 WC_VERSION=2.6.14
  - php: 5.6
    env: WP_VERSION=latest WP_MULTISITE=0 WC_VERSION=3.0.0-rc.2

install:
    - . $HOME/.nvm/nvm.sh
    - nvm install 4.0.0
    - nvm use 4.0.0
    - npm install
    - travis_retry composer install --no-interaction --prefer-source

before_script:
  - phpenv config-rm xdebug.ini
  - bash tests/bin/install.sh wc_bookings_test root '' localhost $WP_VERSION
  - bash tests/bin/travis.sh before

#save node_modules to speed up build
cache:
      directories:
              - node_modules

script: npm run test

after_script:
  - bash tests/bin/travis.sh after