HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/magento.bikenow.co/vendor/mageplaza/module-core/.travis.yml
language: php
php:
  - 7.0
  - 7.1
sudo: required
dist: trusty
env:
  global:
    - COMPOSER_BIN_DIR=~/bin
    - INTEGRATION_SETS=3
    - NODE_JS_VERSION=6
    - MAGENTO_HOST_NAME="magento2.travis"
    - COMPOSER_MODULE=mageplaza/module-core
  matrix:
    - MAGENTO_VERSION=2.1.1 TEST_SUITE=integration INTEGRATION_INDEX=1
    - MAGENTO_VERSION=2.1.1 TEST_SUITE=integration INTEGRATION_INDEX=2
    - MAGENTO_VERSION=2.1.1 TEST_SUITE=integration INTEGRATION_INDEX=3
    - MAGENTO_VERSION=2.1.10 TEST_SUITE=integration INTEGRATION_INDEX=1
    - MAGENTO_VERSION=2.1.10 TEST_SUITE=integration INTEGRATION_INDEX=2
    - MAGENTO_VERSION=2.1.10 TEST_SUITE=integration INTEGRATION_INDEX=3
    - MAGENTO_VERSION=2.2.1 TEST_SUITE=integration INTEGRATION_INDEX=1
    - MAGENTO_VERSION=2.2.1 TEST_SUITE=integration INTEGRATION_INDEX=2
    - MAGENTO_VERSION=2.2.1 TEST_SUITE=integration INTEGRATION_INDEX=3
    - MAGENTO_VERSION=2.2.2 TEST_SUITE=static
    - MAGENTO_VERSION=2.2.2 TEST_SUITE=js GRUNT_COMMAND=static
    - MAGENTO_VERSION=2.2.2 TEST_SUITE=integration INTEGRATION_INDEX=1
    - MAGENTO_VERSION=2.2.2 TEST_SUITE=integration INTEGRATION_INDEX=2
    - MAGENTO_VERSION=2.2.2 TEST_SUITE=integration INTEGRATION_INDEX=3
matrix:
  exclude:
    - php: 7.0
      env: MAGENTO_VERSION=2.2.2 TEST_SUITE=js GRUNT_COMMAND=static
    - php: 7.0
      env: MAGENTO_VERSION=2.2.2 TEST_SUITE=static
cache:
  apt: true
  directories:
    - "$HOME/.composer/cache"
    - "$HOME/.nvm"
addons:
  apt:
    packages:
      - mysql-server-5.6
      - mysql-client-core-5.6
      - mysql-client-5.6
      - postfix
  firefox: '46.0'
  hosts:
    - magento2.travis
before_install:
  - git clone https://github.com/magento/magento2 --branch $MAGENTO_VERSION
  - cd magento2
  - bash ./dev/travis/before_install.sh
install:
  - composer install --no-interaction --prefer-dist
  - composer config repositories.test_target git https://github.com/${TRAVIS_REPO_SLUG}.git
  - composer require $COMPOSER_MODULE dev-$TRAVIS_BRANCH
before_script:
  #- cp -f ${TRAVIS_BUILD_DIR}/dev/tests/integration/phpunit.xml.dist dev/tests/integration/
  - echo "vendor/$COMPOSER_MODULE" > dev/tests/static/testsuite/Magento/Test/Less/_files/whitelist/common.txt
  - echo "vendor/$COMPOSER_MODULE" > dev/tests/static/testsuite/Magento/Test/Php/_files/whitelist/common.txt
  - echo "vendor/$COMPOSER_MODULE/**/*.js" > dev/tests/static/testsuite/Magento/Test/Js/_files/whitelist/magento.txt
  - cp -f ${TRAVIS_BUILD_DIR}/dev/tests/static/js/blacklist/3rd-party.txt dev/tests/static/testsuite/Magento/Test/Js/_files/blacklist/
  - bash ./dev/travis/before_script.sh
script:
  - test $TEST_SUITE = "static" && TEST_FILTER='--filter "Magento\\Test\\Php\\LiveCodeTest"' || true
  - test $TEST_SUITE = "functional" && TEST_FILTER='dev/tests/functional/testsuites/Magento/Mtf/TestSuite/InjectableTests.php' || true
  - if [ $TEST_SUITE == "functional" ]; then dev/tests/functional/vendor/phpunit/phpunit/phpunit -c dev/tests/$TEST_SUITE $TEST_FILTER; fi
  - if [ $TEST_SUITE != "functional" ] && [ $TEST_SUITE != "js" ]; then phpunit -c dev/tests/$TEST_SUITE $TEST_FILTER; fi
  - if [ $TEST_SUITE == "js" ]; then grunt $GRUNT_COMMAND; fi