Skip to content
Snippets Groups Projects
Select Git revision
  • 54cd02431c836d08560b17ba84ad3dbf2fcc3410
  • master default protected
  • devel
  • feature/add-escaping-to-templates
  • feature/add-priority-sorting
  • 3.3.0
  • 3.2.1
  • 3.2.0
  • 3.1.0
  • 3.0.0
  • 2.4.12
  • 2.4.11
  • 2.4.10
  • 2.4.9
  • 2.4.8
  • 2.4.7
  • 2.4.6
  • 2.4.5
  • 2.4.4
  • 2.4.2
  • 2.4.1
  • 2.4.0
  • 2.3.2
  • 2.3.1
  • 2.3
25 results

changelog.txt

Blame
  • To find the state of this project's repository at the time of any of these versions, check out the tags.
    gitlab-ci-1.2.yml 15.13 KiB
    variables:
      WPDESK_CI_VERSION: "1.2"
      MYSQL_ROOT_PASSWORD: "mysql"
      MYSQL_DATABASE: "wptest"
      MYSQL_USER: "mysql"
      MYSQL_PASSWORD: "mysql"
      MYSQL_INNODB_LOG_BUFFER_SIZE: "32M"
      PHP_ERROR_REPORTING: "E_ALL"
      COMPOSER_ALLOW_SUPERUSER: "1"
      GIT_STRATEGY: "fetch"
      CONTRIBUTORS: "wpdesk,dyszczo,grola,potreb"
      MINIMAL_WP_TESTED_UP: "5.3"
      MINIMAL_WC_TESTED_UP: "3.9"
    
    stages:
      - prepare
      - tools
      - tests
      - pre-deploy
      - deploy
    
    .template: &job-test-template
      cache:
        key: ${CI_PROJECT_NAME}-vendor
        paths:
          - vendor/
      stage: tests
      coverage: '/^\s*Lines:\s*\d+.\d+\%/'
      artifacts:
        reports:
          junit: tmp_artifacts/report.xml
    
    .template: &job-test-integration-template
      <<: *job-test-template
      dependencies:
        - prepare prefixed vendor
      services:
        - mysql:5.6
      before_script:
        - export DEPENDENT_PLUGINS_DIR=${CI_PROJECT_DIR}/tests/dependent_plugins
        - echo ${WPDESK_CI_VERSION}
        - ls -l
        - php --version
        - cat /tmp/wordpress-develop/src/wp-includes/version.php
        - cat /tmp/woocommerce/woocommerce.php
        - COMPOSER_MEMORY_LIMIT=-1 composer install --no-progress --prefer-dist
        - ln -s $CI_PROJECT_DIR /tmp/wordpress-develop/src/wp-content/plugins/$CI_PROJECT_NAME
      script:
        - vendor/bin/phpunit -d memory_limit=-1 --configuration phpunit-integration.xml --coverage-text --colors=never --log-junit tmp_artifacts/report.xml
      only:
        - master
      except:
        variables:
          - $DISABLE_COVERAGE
    
    .template: &job-test-integration-template-fast
      <<: *job-test-integration-template
      script:
        - vendor/bin/phpunit  -d memory_limit=-1 --configuration phpunit-integration.xml --no-coverage --log-junit tmp_artifacts/report.xml
      except:
        - tags
      only:
    
    .template: &job-test-unit-template
      <<: *job-test-template
      script:
        - echo ${WPDESK_CI_VERSION}
        - ls -l
        - php --version
        - cat /tmp/wordpress-develop/src/wp-includes/version.php